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

        Success = 0,

        DeviceDisabled  = (22 << ErrorCodeShift) | ModuleId,
        InvalidState    = (32 << ErrorCodeShift) | ModuleId,
        Unknown1        = (48 << ErrorCodeShift) | ModuleId,
        InvalidArgument = (96 << ErrorCodeShift) | ModuleId,
        InvalidObject   = (97 << ErrorCodeShift) | ModuleId,
    }
}