Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.HLE/HOS/Services/Pctl/ResultCode.cs
Ac_K b2e5855928
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
2020-05-15 03:14:38 +02:00

14 lines
375 B
C#

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
}
}