From 69e32e5bbc661627b9548bf414fff67f1756034d Mon Sep 17 00:00:00 2001 From: gdkchan Date: Fri, 6 Apr 2018 01:01:52 -0300 Subject: Rename services with the official interface names --- .../OsHle/Services/Vi/ISystemRootService.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Ryujinx.Core/OsHle/Services/Vi/ISystemRootService.cs (limited to 'Ryujinx.Core/OsHle/Services/Vi/ISystemRootService.cs') diff --git a/Ryujinx.Core/OsHle/Services/Vi/ISystemRootService.cs b/Ryujinx.Core/OsHle/Services/Vi/ISystemRootService.cs new file mode 100644 index 00000000..47123a55 --- /dev/null +++ b/Ryujinx.Core/OsHle/Services/Vi/ISystemRootService.cs @@ -0,0 +1,29 @@ +using Ryujinx.Core.OsHle.Ipc; +using System.Collections.Generic; + +namespace Ryujinx.Core.OsHle.Services.Vi +{ + class ISystemRootService : IpcService + { + private Dictionary m_Commands; + + public override IReadOnlyDictionary Commands => m_Commands; + + public ISystemRootService() + { + m_Commands = new Dictionary() + { + { 1, GetDisplayService } + }; + } + + public long GetDisplayService(ServiceCtx Context) + { + int ServiceType = Context.RequestData.ReadInt32(); + + MakeObject(Context, new IApplicationDisplayService()); + + return 0; + } + } +} \ No newline at end of file -- cgit v1.2.3