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