aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjduncanator <1518948+jduncanator@users.noreply.github.com>2019-04-22 16:54:47 +1000
committerGitHub <noreply@github.com>2019-04-22 16:54:47 +1000
commit354a30370d91f23cb2aff58de3ff906a0c278afc (patch)
treefde593ff3fd49218c316e2fe57ed5f433f2c879a
parent50d6ec9efe7911c8dbadec0aba905817c5903f08 (diff)
Implement IParentalControlService CheckFreeCommunicationPermission (#665)
Resolves #628
-rw-r--r--Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs
index 0c539aa1..3e8ae81c 100644
--- a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs
+++ b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs
@@ -1,5 +1,6 @@
using Ryujinx.Common.Logging;
using Ryujinx.HLE.HOS.Ipc;
+using System;
using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Pctl
@@ -18,7 +19,8 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
- { 1, Initialize }
+ { 1, Initialize },
+ { 1001, CheckFreeCommunicationPermission }
};
_needInitialize = needInitialize;
@@ -37,5 +39,12 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
return 0;
}
+
+ public long CheckFreeCommunicationPermission(ServiceCtx context)
+ {
+ Logger.PrintStub(LogClass.ServicePctl);
+
+ return 0;
+ }
}
} \ No newline at end of file