diff options
| author | Bruno Macabeus <macabeus@users.noreply.github.com> | 2021-01-02 07:11:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-02 16:11:38 +0100 |
| commit | 3e7383b3fdf78d88a25dc2f5d285a847596158f4 (patch) | |
| tree | ee924dcddd2e5de637c96083540dd89367023b63 | |
| parent | b9fd7c8b23217c112dd80f76ff31da553cb6a1a1 (diff) | |
services: add "apm:p" (#1854)
* services: add "apm:p"
* review: change amp:p version range
* review: remove uneeded calls
* review: fix ImanagerPrivileged
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs b/Ryujinx.HLE/HOS/Services/Apm/IManagerPrivileged.cs new file mode 100644 index 00000000..86d618d8 --- /dev/null +++ b/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) { } + + [Command(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 |
