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