aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Nfc/Nfp/ResultCode.cs
blob: 233877073afd8d6b1ffabfeeb5ae069b885bf4d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Ryujinx.HLE.HOS.Services.Nfc.Nfp
{
    public enum ResultCode
    {
        ModuleId = 115,
        ErrorCodeShift = 9,

        Success = 0,

        DeviceNotFound = (64 << ErrorCodeShift) | ModuleId,
        WrongArgument = (65 << ErrorCodeShift) | ModuleId,
        WrongDeviceState = (73 << ErrorCodeShift) | ModuleId,
        NfcDisabled = (80 << ErrorCodeShift) | ModuleId,
        TagNotFound = (97 << ErrorCodeShift) | ModuleId,
        ApplicationAreaIsNull = (128 << ErrorCodeShift) | ModuleId,
        ApplicationAreaAlreadyCreated = (168 << ErrorCodeShift) | ModuleId,
    }
}