mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
Implement IParentalControlService CheckFreeCommunicationPermission (#665)
Resolves #628
This commit is contained in:
parent
50d6ec9efe
commit
354a30370d
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user