diff options
author | german77 <juangerman-13@hotmail.com> | 2022-02-13 18:59:47 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-02-13 20:52:34 +0100 |
commit | b57d61010f347e74875f0c8a1003b4f84fa7b062 (patch) | |
tree | dd80e607949efe0f545803a9db95444c5a1f6c6b /src/core/hle/service/nfp/nfp.h | |
parent | nfp: Separate nfc tag from amiibo data (diff) | |
download | yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.tar yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.tar.gz yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.tar.bz2 yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.tar.lz yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.tar.xz yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.tar.zst yuzu-b57d61010f347e74875f0c8a1003b4f84fa7b062.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfp/nfp.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/hle/service/nfp/nfp.h b/src/core/hle/service/nfp/nfp.h index bc3b1967f..022f13b29 100644 --- a/src/core/hle/service/nfp/nfp.h +++ b/src/core/hle/service/nfp/nfp.h @@ -153,6 +153,13 @@ public: }; static_assert(sizeof(EncryptedAmiiboFile) == 0x1F8, "AmiiboFile is an invalid size"); + struct NTAG215Password { + u32 PWD; // Password to allow write access + u16 PACK; // Password acknowledge reply + u16 RFUI; // Reserved for future use + }; + static_assert(sizeof(NTAG215Password) == 0x8, "NTAG215Password is an invalid size"); + struct NTAG215File { TagUuid uuid; // Unique serial number u16 lock_bytes; // Set defined pages as read only @@ -161,9 +168,7 @@ public: u32 dynamic_lock; // Dynamic lock u32 CFG0; // Defines memory protected by password u32 CFG1; // Defines number of verification attempts - u32 PWD; // Password to allow write access - u16 PACK; // Password acknowledge reply - u16 RFUI; // Reserved for future use + NTAG215Password password; // Password data }; static_assert(sizeof(NTAG215File) == 0x21C, "NTAG215File is an invalid size"); |