diff options
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs')
| -rw-r--r-- | src/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs b/src/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs new file mode 100644 index 00000000..9620c30a --- /dev/null +++ b/src/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs @@ -0,0 +1,19 @@ +namespace Ryujinx.HLE.HOS.Services.Apm +{ + // NOTE: This service doesn’t exist anymore after firmware 7.0.1. But some outdated homebrew still uses it. + + [Service("apm:p")] // 1.0.0-7.0.1 + class IManagerPrivileged : IpcService + { + public IManagerPrivileged(ServiceCtx context) { } + + [CommandCmif(0)] + // OpenSession() -> object<nn::apm::ISession> + public ResultCode OpenSession(ServiceCtx context) + { + MakeObject(context, new SessionServer(context)); + + return ResultCode.Success; + } + } +}
\ No newline at end of file |
