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

        Success = 0,

        DeviceNotAvailable = (16 << ErrorCodeShift) | ModuleId,
        DeviceDisabled = (22 << ErrorCodeShift) | ModuleId,
        InvalidState = (32 << ErrorCodeShift) | ModuleId,
        NodeNotFound = (48 << ErrorCodeShift) | ModuleId,
        ConnectFailure = (64 << ErrorCodeShift) | ModuleId,
        ConnectNotFound = (65 << ErrorCodeShift) | ModuleId,
        ConnectTimeout = (66 << ErrorCodeShift) | ModuleId,
        ConnectRejected = (67 << ErrorCodeShift) | ModuleId,
        InvalidArgument = (96 << ErrorCodeShift) | ModuleId,
        InvalidObject = (97 << ErrorCodeShift) | ModuleId,
        VersionTooLow = (113 << ErrorCodeShift) | ModuleId,
        VersionTooHigh = (114 << ErrorCodeShift) | ModuleId,
        TooManyPlayers = (144 << ErrorCodeShift) | ModuleId,
    }
}