aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/KSession.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-12-04 22:52:39 -0200
committerGitHub <noreply@github.com>2018-12-04 22:52:39 -0200
commit3615a70cae3f89197fe185dfc5d0a47fa42151d9 (patch)
tree8e4737422fba15199c1a6ce7c6345996c0e907b5 /Ryujinx.HLE/HOS/Kernel/KSession.cs
parent85dbb9559ad317a657dafd24da27fec4b3f5250f (diff)
Revert "Adjust naming conventions and general refactoring in HLE Project (#490)" (#526)
This reverts commit 85dbb9559ad317a657dafd24da27fec4b3f5250f.
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/KSession.cs')
-rw-r--r--Ryujinx.HLE/HOS/Kernel/KSession.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/KSession.cs b/Ryujinx.HLE/HOS/Kernel/KSession.cs
index a350b323..4b21d3a6 100644
--- a/Ryujinx.HLE/HOS/Kernel/KSession.cs
+++ b/Ryujinx.HLE/HOS/Kernel/KSession.cs
@@ -5,14 +5,14 @@ namespace Ryujinx.HLE.HOS.Kernel
{
class KSession : IDisposable
{
- public IpcService Service { get; }
+ public IpcService Service { get; private set; }
- public string ServiceName { get; }
+ public string ServiceName { get; private set; }
- public KSession(IpcService service, string serviceName)
+ public KSession(IpcService Service, string ServiceName)
{
- Service = service;
- ServiceName = serviceName;
+ this.Service = Service;
+ this.ServiceName = ServiceName;
}
public void Dispose()
@@ -20,11 +20,11 @@ namespace Ryujinx.HLE.HOS.Kernel
Dispose(true);
}
- protected virtual void Dispose(bool disposing)
+ protected virtual void Dispose(bool Disposing)
{
- if (disposing && Service is IDisposable disposableService)
+ if (Disposing && Service is IDisposable DisposableService)
{
- disposableService.Dispose();
+ DisposableService.Dispose();
}
}
}