mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-03 11:39:02 +00:00
Some checks are pending
Canary CI / Release for linux-arm64 (push) Waiting to run
Canary CI / Release for linux-x64 (push) Waiting to run
Canary CI / Release for win-x64 (push) Waiting to run
Canary CI / Release MacOS universal (push) Waiting to run
Canary CI / Create GitLab Release (push) Blocked by required conditions
See merge request ryubing/ryujinx!270
17 lines
584 B
C#
17 lines
584 B
C#
namespace Ryujinx.HLE.HOS.Services.Nfc.Mifare
|
|
{
|
|
public enum ResultCode
|
|
{
|
|
ModuleId = 161,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
DeviceNotFound = (64 << ErrorCodeShift) | ModuleId, // 0x80A1
|
|
WrongArgument = (65 << ErrorCodeShift) | ModuleId, // 0x82A1
|
|
WrongDeviceState = (73 << ErrorCodeShift) | ModuleId, // 0x92A1
|
|
NfcDisabled = (80 << ErrorCodeShift) | ModuleId, // 0xA0A1
|
|
TagNotFound = (97 << ErrorCodeShift) | ModuleId, // 0xC2A1
|
|
MifareAccessError = (288 << ErrorCodeShift) | ModuleId, // 0x240a1
|
|
}
|
|
}
|