aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Nfc/Nfp/ResultCode.cs
blob: 92184fb40062b6d23f5ab13f90795f0c1f54c600 (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,
    }
}