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