aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Sm/ResultCode.cs
blob: f72bf01093a4a9892acac0ad8b2f666c44dfde00 (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
    }
}