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