diff options
Diffstat (limited to 'Ryujinx.HLE/OsHle/Services/Apm/IManager.cs')
| -rw-r--r-- | Ryujinx.HLE/OsHle/Services/Apm/IManager.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Ryujinx.HLE/OsHle/Services/Apm/IManager.cs b/Ryujinx.HLE/OsHle/Services/Apm/IManager.cs new file mode 100644 index 00000000..22150d6e --- /dev/null +++ b/Ryujinx.HLE/OsHle/Services/Apm/IManager.cs @@ -0,0 +1,27 @@ +using Ryujinx.HLE.OsHle.Ipc; +using System.Collections.Generic; + +namespace Ryujinx.HLE.OsHle.Services.Apm +{ + class IManager : IpcService + { + private Dictionary<int, ServiceProcessRequest> m_Commands; + + public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands; + + public IManager() + { + m_Commands = new Dictionary<int, ServiceProcessRequest>() + { + { 0, OpenSession } + }; + } + + public long OpenSession(ServiceCtx Context) + { + MakeObject(Context, new ISession()); + + return 0; + } + } +}
\ No newline at end of file |
