aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Handles
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-02-25 01:34:16 -0300
committergdkchan <gab.dark.100@gmail.com>2018-02-25 01:34:27 -0300
commitfba0bf873257c4ac17f4584036661be08a1694d3 (patch)
treed1677d09fd008b2dcfa7560e979460b277f76411 /Ryujinx.Core/OsHle/Handles
parenta4ff0d34848416a68dff9f165bb90afae7a4fd20 (diff)
Refactor IPC services to have commands into separate classes, fix readme url
Diffstat (limited to 'Ryujinx.Core/OsHle/Handles')
-rw-r--r--Ryujinx.Core/OsHle/Handles/HSession.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Ryujinx.Core/OsHle/Handles/HSession.cs b/Ryujinx.Core/OsHle/Handles/HSession.cs
index 8aa1c06b..f30e91f9 100644
--- a/Ryujinx.Core/OsHle/Handles/HSession.cs
+++ b/Ryujinx.Core/OsHle/Handles/HSession.cs
@@ -1,21 +1,23 @@
+using Ryujinx.Core.OsHle.IpcServices;
+
namespace Ryujinx.Core.OsHle.Handles
{
class HSession
{
- public string ServiceName { get; private set; }
+ public IIpcService Service { get; private set; }
public bool IsInitialized { get; private set; }
public int State { get; set; }
- public HSession(string ServiceName)
+ public HSession(IIpcService Service)
{
- this.ServiceName = ServiceName;
+ this.Service = Service;
}
public HSession(HSession Session)
{
- ServiceName = Session.ServiceName;
+ Service = Session.Service;
IsInitialized = Session.IsInitialized;
}