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.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;
}
}
}