IApplicationRootService.cs 640 B

123456789101112131415161718192021
  1. using Ryujinx.HLE.HOS.Services.Vi.RootService;
  2. namespace Ryujinx.HLE.HOS.Services.Vi
  3. {
  4. [Service("vi:u")]
  5. class IApplicationRootService : IpcService
  6. {
  7. public IApplicationRootService(ServiceCtx context) : base(context.Device.System.ViServer) { }
  8. [CommandHipc(0)]
  9. // GetDisplayService(u32) -> object<nn::visrv::sf::IApplicationDisplayService>
  10. public ResultCode GetDisplayService(ServiceCtx context)
  11. {
  12. int serviceType = context.RequestData.ReadInt32();
  13. MakeObject(context, new IApplicationDisplayService());
  14. return ResultCode.Success;
  15. }
  16. }
  17. }