1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-25 08:56:01 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
VolcaEM 1dd78142fa
Add two error codes to SDB PDM (#1230)
* 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
}
}