IManager.cs 408 B

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