2018-08-16 17:47:36 -06:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Vi
|
2018-02-09 17:14:55 -07:00
|
|
|
{
|
2019-07-10 09:59:54 -06:00
|
|
|
[Service("vi:s")]
|
2018-04-05 22:01:52 -06:00
|
|
|
class ISystemRootService : IpcService
|
2018-02-09 17:14:55 -07:00
|
|
|
{
|
2019-07-11 19:13:43 -06:00
|
|
|
public ISystemRootService(ServiceCtx context) { }
|
2018-02-09 17:14:55 -07:00
|
|
|
|
2019-07-11 19:13:43 -06:00
|
|
|
[Command(1)]
|
|
|
|
// GetDisplayService(u32) -> object<nn::visrv::sf::IApplicationDisplayService>
|
2019-07-14 13:04:38 -06:00
|
|
|
public ResultCode GetDisplayService(ServiceCtx context)
|
2018-02-09 17:14:55 -07:00
|
|
|
{
|
2018-12-06 04:16:24 -07:00
|
|
|
int serviceType = context.RequestData.ReadInt32();
|
2018-02-24 21:34:16 -07:00
|
|
|
|
2018-12-06 04:16:24 -07:00
|
|
|
MakeObject(context, new IApplicationDisplayService());
|
2018-02-09 17:14:55 -07:00
|
|
|
|
2019-07-14 13:04:38 -06:00
|
|
|
return ResultCode.Success;
|
2018-02-09 17:14:55 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|