2019-09-19 02:45:11 +02:00
|
|
|
using Ryujinx.HLE.HOS.Services.Vi.RootService;
|
|
|
|
|
2018-08-17 01:47:36 +02:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Vi
|
2018-02-10 01:14:55 +01:00
|
|
|
{
|
2019-07-10 17:59:54 +02:00
|
|
|
[Service("vi:m")]
|
2018-04-06 06:01:52 +02:00
|
|
|
class IManagerRootService : IpcService
|
2018-02-10 01:14:55 +01:00
|
|
|
{
|
2020-09-25 12:18:28 +02:00
|
|
|
// vi:u/m/s aren't on 3 separate threads but we can't put them together with the current ServerBase
|
2020-12-02 13:14:44 +01:00
|
|
|
public IManagerRootService(ServiceCtx context) : base(context.Device.System.ViServerM) { }
|
2018-02-10 01:14:55 +01:00
|
|
|
|
2019-07-12 03:13:43 +02:00
|
|
|
[Command(2)]
|
|
|
|
// GetDisplayService(u32) -> object<nn::visrv::sf::IApplicationDisplayService>
|
2019-07-14 21:04:38 +02:00
|
|
|
public ResultCode GetDisplayService(ServiceCtx context)
|
2018-02-10 01:14:55 +01:00
|
|
|
{
|
2018-12-06 12:16:24 +01:00
|
|
|
int serviceType = context.RequestData.ReadInt32();
|
2018-02-25 05:34:16 +01:00
|
|
|
|
2018-12-06 12:16:24 +01:00
|
|
|
MakeObject(context, new IApplicationDisplayService());
|
2018-02-10 01:14:55 +01:00
|
|
|
|
2019-07-14 21:04:38 +02:00
|
|
|
return ResultCode.Success;
|
2018-02-10 01:14:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|