diff options
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Apm/IManager.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Apm/IManager.cs | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Apm/IManager.cs b/Ryujinx.HLE/HOS/Services/Apm/IManager.cs index 02f3661a..46328610 100644 --- a/Ryujinx.HLE/HOS/Services/Apm/IManager.cs +++ b/Ryujinx.HLE/HOS/Services/Apm/IManager.cs @@ -1,24 +1,13 @@ -using Ryujinx.HLE.HOS.Ipc; -using System.Collections.Generic; - namespace Ryujinx.HLE.HOS.Services.Apm { [Service("apm")] [Service("apm:p")] class IManager : IpcService { - private Dictionary<int, ServiceProcessRequest> _commands; - - public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands; - - public IManager(ServiceCtx context) - { - _commands = new Dictionary<int, ServiceProcessRequest> - { - { 0, OpenSession } - }; - } + public IManager(ServiceCtx context) { } + [Command(0)] + // OpenSession() -> object<nn::apm::ISession> public long OpenSession(ServiceCtx context) { MakeObject(context, new ISession()); |
