IManagerPrivileged.cs 566 B

12345678910111213141516171819
  1. namespace Ryujinx.HLE.HOS.Services.Apm
  2. {
  3. // NOTE: This service doesn’t exist anymore after firmware 7.0.1. But some outdated homebrew still uses it.
  4. [Service("apm:p")] // 1.0.0-7.0.1
  5. class IManagerPrivileged : IpcService
  6. {
  7. public IManagerPrivileged(ServiceCtx context) { }
  8. [CommandHipc(0)]
  9. // OpenSession() -> object<nn::apm::ISession>
  10. public ResultCode OpenSession(ServiceCtx context)
  11. {
  12. MakeObject(context, new SessionServer(context));
  13. return ResultCode.Success;
  14. }
  15. }
  16. }