mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 08:05:48 +00:00
Implement IParentalControlService CheckFreeCommunicationPermission (#665)
Resolves #628
This commit is contained in:
parent
50d6ec9efe
commit
354a30370d
1 changed files with 10 additions and 1 deletions
|
@ -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 a new issue