aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Ptm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Ptm')
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Fan/IManager.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/IDebugger.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/ISession.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Pcm/IManager.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs8
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Psm/Types/ChargerType.cs4
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Tc/IManager.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs2
-rw-r--r--src/Ryujinx.HLE/HOS/Services/Ptm/Ts/Types/Location.cs2
10 files changed, 14 insertions, 14 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Fan/IManager.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Fan/IManager.cs
index e2fe2235..8011f919 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Fan/IManager.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Fan/IManager.cs
@@ -5,4 +5,4 @@
{
public IManager(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/IDebugger.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/IDebugger.cs
index a93f5283..8cb671bc 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/IDebugger.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/IDebugger.cs
@@ -5,4 +5,4 @@
{
public IDebugger(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/ISession.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/ISession.cs
index 0e3f965b..1488c288 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/ISession.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Fgm/ISession.cs
@@ -7,4 +7,4 @@
{
public ISession(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Pcm/IManager.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Pcm/IManager.cs
index 0bec45fa..53f3bc39 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Pcm/IManager.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Pcm/IManager.cs
@@ -5,4 +5,4 @@
{
public IManager(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs
index 4e3d3e8e..0c475150 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmServer.cs
@@ -42,4 +42,4 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs
index 5d11f227..a603b7e4 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/IPsmSession.cs
@@ -7,12 +7,12 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
{
class IPsmSession : IpcService
{
- private KEvent _stateChangeEvent;
- private int _stateChangeEventHandle;
+ private readonly KEvent _stateChangeEvent;
+ private int _stateChangeEventHandle;
public IPsmSession(Horizon system)
{
- _stateChangeEvent = new KEvent(system.KernelContext);
+ _stateChangeEvent = new KEvent(system.KernelContext);
_stateChangeEventHandle = -1;
}
@@ -85,4 +85,4 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Psm
return ResultCode.Success;
}
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/Types/ChargerType.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/Types/ChargerType.cs
index 3e239711..a0b0c3dd 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/Types/ChargerType.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Psm/Types/ChargerType.cs
@@ -4,6 +4,6 @@
{
None,
ChargerOrDock,
- UsbC
+ UsbC,
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Tc/IManager.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Tc/IManager.cs
index 1daa4f5e..0317e532 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Tc/IManager.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Tc/IManager.cs
@@ -5,4 +5,4 @@
{
public IManager(ServiceCtx context) { }
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs
index 6ddc0aef..07a06768 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/IMeasurementServer.cs
@@ -36,4 +36,4 @@ namespace Ryujinx.HLE.HOS.Services.Ptm.Ts
return ResultCode.Success;
}
}
-} \ No newline at end of file
+}
diff --git a/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/Types/Location.cs b/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/Types/Location.cs
index e72491d5..c04db09c 100644
--- a/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/Types/Location.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Ptm/Ts/Types/Location.cs
@@ -3,6 +3,6 @@
enum Location : byte
{
Internal,
- External
+ External,
}
}