aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Hid/Irs/ResultCode.cs
blob: 8cee32cdf655a22824a8f4928801b404a06dffda (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,
    }
}