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

        Success = 0,

        InvalidArgument              = (2   << ErrorCodeShift) | ModuleId,
        ShimLibraryVersionAlreadySet = (7   << ErrorCodeShift) | ModuleId,
        OutOfRange                   = (8   << ErrorCodeShift) | ModuleId,
        InvalidContentType           = (14  << ErrorCodeShift) | ModuleId,
        NullOutputBuffer             = (141 << ErrorCodeShift) | ModuleId,
        NullInputBuffer              = (142 << ErrorCodeShift) | ModuleId,
        BlacklistedPid               = (822 << ErrorCodeShift) | ModuleId
    }
}