diff options
author | bunnei <bunneidev@gmail.com> | 2022-11-20 09:48:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-20 09:48:39 +0100 |
commit | 57a05b1653b316412492b7cf83738b702865b47e (patch) | |
tree | cb76a9aead5f545250301eb7928ecfb03e706931 /src/core/hle/service/nfp/nfp_types.h | |
parent | Merge pull request #9249 from goldenx86/available-vram (diff) | |
parent | general: Address review comments (diff) | |
download | yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.gz yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.bz2 yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.lz yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.xz yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.zst yuzu-57a05b1653b316412492b7cf83738b702865b47e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfp/nfp_types.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/core/hle/service/nfp/nfp_types.h b/src/core/hle/service/nfp/nfp_types.h index 63d5917cb..69858096a 100644 --- a/src/core/hle/service/nfp/nfp_types.h +++ b/src/core/hle/service/nfp/nfp_types.h @@ -88,11 +88,22 @@ enum class PackedTagType : u8 { Type5, // ISO15693 RW/RO 540 bytes 106kbit/s }; +// Verify this enum. It might be completely wrong default protocol is 0x48 enum class TagProtocol : u32 { None, - TypeA, // ISO14443A - TypeB, // ISO14443B - TypeF, // Sony Felica + TypeA = 1U << 0, // ISO14443A + TypeB = 1U << 1, // ISO14443B + TypeF = 1U << 2, // Sony Felica + Unknown1 = 1U << 3, + Unknown2 = 1U << 5, + All = 0xFFFFFFFFU, +}; + +enum class CabinetMode : u8 { + StartNicknameAndOwnerSettings, + StartGameDataEraser, + StartRestorer, + StartFormatter, }; using UniqueSerialNumber = std::array<u8, 7>; |