0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 03:45:46 +00:00

Implement IParentalControlService CheckFreeCommunicationPermission (#665)

Resolves #628
This commit is contained in:
jduncanator 2019-04-22 16:54:47 +10:00 committed by GitHub
parent 50d6ec9efe
commit 354a30370d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
using Ryujinx.Common.Logging; using Ryujinx.Common.Logging;
using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Ipc;
using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Pctl namespace Ryujinx.HLE.HOS.Services.Pctl
@ -18,7 +19,8 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
{ {
_commands = new Dictionary<int, ServiceProcessRequest> _commands = new Dictionary<int, ServiceProcessRequest>
{ {
{ 1, Initialize } { 1, Initialize },
{ 1001, CheckFreeCommunicationPermission }
}; };
_needInitialize = needInitialize; _needInitialize = needInitialize;
@ -37,5 +39,12 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
return 0; return 0;
} }
public long CheckFreeCommunicationPermission(ServiceCtx context)
{
Logger.PrintStub(LogClass.ServicePctl);
return 0;
}
} }
} }