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

        Success = 0,

        InvalidArguments   = (1 << ErrorCodeShift) | ModuleId,
        InvalidLayerSize   = (4 << ErrorCodeShift) | ModuleId,
        PermissionDenied   = (5 << ErrorCodeShift) | ModuleId,
        InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId,
        InvalidValue       = (7 << ErrorCodeShift) | ModuleId,
        AlreadyOpened      = (9 << ErrorCodeShift) | ModuleId
    }
}