From a1d88e154ce0952d716365bbf6825559f6a07387 Mon Sep 17 00:00:00 2001 From: HorrorTroll Date: Wed, 27 Mar 2019 20:44:39 +0700 Subject: [PATCH] Remove IParentalControlService: 1001 (CheckFreeCommunicationPermission) --- .../HOS/Services/Pctl/IParentalControlService.cs | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs index e8ad72640d..8def3b8016 100644 --- a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs +++ b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs @@ -18,14 +18,12 @@ namespace Ryujinx.HLE.HOS.Services.Pctl { _commands = new Dictionary { - { 1, Initialize }, - { 1001, CheckFreeCommunicationPermission } + { 1, Initialize } }; _needInitialize = needInitialize; } - // Initialize() public long Initialize(ServiceCtx context) { if (_needInitialize && !_initialized) @@ -39,15 +37,5 @@ namespace Ryujinx.HLE.HOS.Services.Pctl return 0; } - - // CheckFreeCommunicationPermission(bool) - public long CheckFreeCommunicationPermission(ServiceCtx context) - { - bool enable = context.RequestData.ReadByte() != 0; - - Logger.PrintStub(LogClass.ServicePctl); - - return 0; - } } -} \ No newline at end of file +}