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/Sdb/Pdm/ResultCode.cs
VolcaEM 1dd78142fa
Add two error codes to SDB PDM ()
* Add two error codes to SDB PDM

The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)

* Remove empty line
2020-05-09 10:57:19 +02:00

15 lines
422 B
C#

namespace Ryujinx.HLE.HOS.Services.Sdb.Pdm
{
enum ResultCode
{
ModuleId = 178,
ErrorCodeShift = 9,
Success = 0,
InvalidUserID = (100 << ErrorCodeShift) | ModuleId,
UserNotFound = (101 << ErrorCodeShift) | ModuleId,
ServiceUnavailable = (150 << ErrorCodeShift) | ModuleId,
FileStorageFailure = (200 << ErrorCodeShift) | ModuleId
}
}