Remove IParentalControlService: 1001 (CheckFreeCommunicationPermission)
This commit is contained in:
parent
c5f0685118
commit
a1d88e154c
1 changed files with 2 additions and 14 deletions
|
@ -18,14 +18,12 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize()
|
|
||||||
public long Initialize(ServiceCtx context)
|
public long Initialize(ServiceCtx context)
|
||||||
{
|
{
|
||||||
if (_needInitialize && !_initialized)
|
if (_needInitialize && !_initialized)
|
||||||
|
@ -39,15 +37,5 @@ namespace Ryujinx.HLE.HOS.Services.Pctl
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// CheckFreeCommunicationPermission(bool)
|
|
||||||
public long CheckFreeCommunicationPermission(ServiceCtx context)
|
|
||||||
{
|
|
||||||
bool enable = context.RequestData.ReadByte() != 0;
|
|
||||||
|
|
||||||
Logger.PrintStub(LogClass.ServicePctl);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue