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