rjx-mirror/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
}
}