IManager.cs 421 B

123456789101112131415161718
  1. namespace Ryujinx.HLE.HOS.Services.Apm
  2. {
  3. [Service("apm")]
  4. [Service("apm:p")]
  5. class IManager : IpcService
  6. {
  7. public IManager(ServiceCtx context) { }
  8. [Command(0)]
  9. // OpenSession() -> object<nn::apm::ISession>
  10. public ResultCode OpenSession(ServiceCtx context)
  11. {
  12. MakeObject(context, new ISession());
  13. return ResultCode.Success;
  14. }
  15. }
  16. }