aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs')
-rw-r--r--src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs b/src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs
index 93f0f34c..84ebcbc3 100644
--- a/src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs
+++ b/src/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs
@@ -8,9 +8,11 @@ namespace Ryujinx.HLE.HOS.Kernel.Ipc
public KServerPort ServerPort { get; }
public KClientPort ClientPort { get; }
- private string _name;
+#pragma warning disable IDE0052 // Remove unread private member
+ private readonly string _name;
+#pragma warning restore IDE0052
- private ChannelState _state;
+ private readonly ChannelState _state;
public bool IsLight { get; private set; }
@@ -69,4 +71,4 @@ namespace Ryujinx.HLE.HOS.Kernel.Ipc
return result;
}
}
-} \ No newline at end of file
+}