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 --- .../Pctl/IParentalControlServiceFactory.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Ryujinx.Core/OsHle/Services/Pctl/IParentalControlServiceFactory.cs (limited to 'Ryujinx.Core/OsHle/Services/Pctl/IParentalControlServiceFactory.cs') diff --git a/Ryujinx.Core/OsHle/Services/Pctl/IParentalControlServiceFactory.cs b/Ryujinx.Core/OsHle/Services/Pctl/IParentalControlServiceFactory.cs new file mode 100644 index 00000000..5421f165 --- /dev/null +++ b/Ryujinx.Core/OsHle/Services/Pctl/IParentalControlServiceFactory.cs @@ -0,0 +1,27 @@ +using Ryujinx.Core.OsHle.Ipc; +using System.Collections.Generic; + +namespace Ryujinx.Core.OsHle.Services.Pctl +{ + class IParentalControlServiceFactory : IpcService + { + private Dictionary m_Commands; + + public override IReadOnlyDictionary Commands => m_Commands; + + public IParentalControlServiceFactory() + { + m_Commands = new Dictionary() + { + { 0, CreateService } + }; + } + + public static long CreateService(ServiceCtx Context) + { + MakeObject(Context, new IParentalControlService()); + + return 0; + } + } +} \ No newline at end of file -- cgit v1.2.3