aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Bcat/ResultCode.cs
blob: 7f1b313e128ba7736a68f3c75eef2ce2c75ab595 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace Ryujinx.HLE.HOS.Services.Bcat
{
    enum ResultCode
    {
        ModuleId       = 122,
        ErrorCodeShift = 9,

        Success = 0,

        InvalidArgument                   = (1 << ErrorCodeShift) | ModuleId,
        NotFound                          = (2 << ErrorCodeShift) | ModuleId,
        TargetLocked                      = (3 << ErrorCodeShift) | ModuleId,
        TargetAlreadyMounted              = (4 << ErrorCodeShift) | ModuleId,
        TargetNotMounted                  = (5 << ErrorCodeShift) | ModuleId,
        AlreadyOpen                       = (6 << ErrorCodeShift) | ModuleId,
        NotOpen                           = (7 << ErrorCodeShift) | ModuleId,
        InternetRequestDenied             = (8 << ErrorCodeShift) | ModuleId,
        ServiceOpenLimitReached           = (9 << ErrorCodeShift) | ModuleId,
        SaveDataNotFound                  = (10 << ErrorCodeShift) | ModuleId,
        NetworkServiceAccountNotAvailable = (31 << ErrorCodeShift) | ModuleId,
        PassphrasePathNotFound            = (80 << ErrorCodeShift) | ModuleId,
        DataVerificationFailed            = (81 << ErrorCodeShift) | ModuleId,
        PermissionDenied                  = (90 << ErrorCodeShift) | ModuleId,
        AllocationFailed                  = (91 << ErrorCodeShift) | ModuleId,
        InvalidOperation                  = (98 << ErrorCodeShift) | ModuleId,
        InvalidDeliveryCacheStorageFile   = (204 << ErrorCodeShift) | ModuleId,
        StorageOpenLimitReached           = (205 << ErrorCodeShift) | ModuleId
    }
}