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

        Success = 0,

        InvalidCameraHandle = (204 << ErrorCodeShift) | ModuleId,
        InvalidBufferSize   = (207 << ErrorCodeShift) | ModuleId,
        HandlePointerIsNull = (212 << ErrorCodeShift) | ModuleId,
        NpadIdOutOfRange    = (709 << ErrorCodeShift) | ModuleId
    }
}