aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs
blob: c337051b44b0ec47fa06c66d565b0ddba8650164 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
    }
}