From 354a30370d91f23cb2aff58de3ff906a0c278afc Mon Sep 17 00:00:00 2001
From: jduncanator <1518948+jduncanator@users.noreply.github.com>
Date: Mon, 22 Apr 2019 16:54:47 +1000
Subject: [PATCH] Implement IParentalControlService
 CheckFreeCommunicationPermission (#665)

Resolves #628
---
 .../HOS/Services/Pctl/IParentalControlService.cs      | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs b/Ryujinx.HLE/HOS/Services/Pctl/IParentalControlService.cs
index 0c539aa131..3e8ae81cf1 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