aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Account/ResultCode.cs
blob: e56732ab175e51619858c79cd00270a96a6906c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.HLE.HOS.Services.Account
{
    enum ResultCode
    {
        ModuleId       = 124,
        ErrorCodeShift = 9,

        Success = 0,

        NullArgument                         = (20  << ErrorCodeShift) | ModuleId,
        InvalidArgument                      = (22  << ErrorCodeShift) | ModuleId,
        NullInputBuffer                      = (30  << ErrorCodeShift) | ModuleId,
        InvalidInputBufferSize               = (31  << ErrorCodeShift) | ModuleId,
        InvalidInputBuffer                   = (32  << ErrorCodeShift) | ModuleId,
        ApplicationLaunchPropertyAlreadyInit = (41  << ErrorCodeShift) | ModuleId,
        UserNotFound                         = (100 << ErrorCodeShift) | ModuleId,
        NullObject                           = (302 << ErrorCodeShift) | ModuleId,
        UnknownError1                        = (341 << ErrorCodeShift) | ModuleId
    }
}