pctl: refactoring IParentalControlServiceFactory and IParentalControl… (#1219)
* pctl: refactoring IParentalControlServiceFactory and IParentalControlService call Our previous implementation was totally guessed. Now it's implemented according to RE, even if it's stubbed because we will not support Parental Control for now. * unknownFlag > permissionFlag
This commit is contained in:
parent
430a48338b
commit
b2e5855928
3 changed files with 82 additions and 19 deletions
14
Ryujinx.HLE/HOS/Services/Pctl/ResultCode.cs
Normal file
14
Ryujinx.HLE/HOS/Services/Pctl/ResultCode.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
namespace Ryujinx.HLE.HOS.Services.Pctl
|
||||
{
|
||||
enum ResultCode
|
||||
{
|
||||
ModuleId = 142,
|
||||
ErrorCodeShift = 9,
|
||||
|
||||
Success = 0,
|
||||
|
||||
FreeCommunicationDisabled = (101 << ErrorCodeShift) | ModuleId,
|
||||
InvalidPid = (131 << ErrorCodeShift) | ModuleId,
|
||||
PermissionDenied = (133 << ErrorCodeShift) | ModuleId
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue