aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Sockets/Nsd/ResultCode.cs
blob: 5a62922fc16367612cd3d753926ca04e9ffddc71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Ryujinx.HLE.HOS.Services.Sockets.Nsd
{
    enum ResultCode
    {
        ModuleId = 141,
        ErrorCodeShift = 9,

        Success = 0,

        InvalidSettingsValue = (1 << ErrorCodeShift) | ModuleId,
        InvalidObject1 = (3 << ErrorCodeShift) | ModuleId,
        InvalidObject2 = (4 << ErrorCodeShift) | ModuleId,
        NullOutputObject = (5 << ErrorCodeShift) | ModuleId,
        SettingsNotLoaded = (6 << ErrorCodeShift) | ModuleId,
        InvalidArgument = (8 << ErrorCodeShift) | ModuleId,
        SettingsNotInitialized = (10 << ErrorCodeShift) | ModuleId,
        ServiceNotInitialized = (400 << ErrorCodeShift) | ModuleId,
    }
}