Remove IParentalControlService: 1001 (CheckFreeCommunicationPermission)

This commit is contained in:
HorrorTroll 2019-03-27 20:44:39 +07:00 committed by GitHub
parent c5f0685118
commit a1d88e154c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,14 +18,12 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
{
_commands = new Dictionary<int, ServiceProcessRequest>
{
{ 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;
}
}
}
}