aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Sm/ResultCode.cs
blob: 6db33d2aa1f9743fe88058f7d69fce39b7141925 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace Ryujinx.HLE.HOS.Services.Sm
{
    enum ResultCode
    {
        ModuleId = 21,
        ErrorCodeShift = 9,

        Success = 0,

        NotInitialized = (2 << ErrorCodeShift) | ModuleId,
        AlreadyRegistered = (4 << ErrorCodeShift) | ModuleId,
        InvalidName = (6 << ErrorCodeShift) | ModuleId,
        NotRegistered = (7 << ErrorCodeShift) | ModuleId,
    }
}