aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
blob: d888e644531ff09f10f67a2c778c18334518f57b (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,
        InvalidRange       = (5 << ErrorCodeShift) | ModuleId,
        InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId,
        InvalidValue       = (7 << ErrorCodeShift) | ModuleId,
        AlreadyOpened      = (9 << ErrorCodeShift) | ModuleId
    }
}