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