IManagerRootService.cs 541 B

12345678910111213141516171819
  1. namespace Ryujinx.HLE.HOS.Services.Vi
  2. {
  3. [Service("vi:m")]
  4. class IManagerRootService : IpcService
  5. {
  6. public IManagerRootService(ServiceCtx context) { }
  7. [Command(2)]
  8. // GetDisplayService(u32) -> object<nn::visrv::sf::IApplicationDisplayService>
  9. public ResultCode GetDisplayService(ServiceCtx context)
  10. {
  11. int serviceType = context.RequestData.ReadInt32();
  12. MakeObject(context, new IApplicationDisplayService());
  13. return ResultCode.Success;
  14. }
  15. }
  16. }