diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-02 02:42:39 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-12-05 03:02:48 +0100 |
commit | 752236caad5d1d3ed097c22929081919f27b190e (patch) | |
tree | d05fae1721175fbbd0c149b258cb58de94d40fef /src/input_common/drivers/virtual_amiibo.h | |
parent | service: nfc: Implement mifare service (diff) | |
download | yuzu-752236caad5d1d3ed097c22929081919f27b190e.tar yuzu-752236caad5d1d3ed097c22929081919f27b190e.tar.gz yuzu-752236caad5d1d3ed097c22929081919f27b190e.tar.bz2 yuzu-752236caad5d1d3ed097c22929081919f27b190e.tar.lz yuzu-752236caad5d1d3ed097c22929081919f27b190e.tar.xz yuzu-752236caad5d1d3ed097c22929081919f27b190e.tar.zst yuzu-752236caad5d1d3ed097c22929081919f27b190e.zip |
Diffstat (limited to 'src/input_common/drivers/virtual_amiibo.h')
-rw-r--r-- | src/input_common/drivers/virtual_amiibo.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input_common/drivers/virtual_amiibo.h b/src/input_common/drivers/virtual_amiibo.h index 9baeb3997..0f9dad333 100644 --- a/src/input_common/drivers/virtual_amiibo.h +++ b/src/input_common/drivers/virtual_amiibo.h @@ -53,12 +53,13 @@ public: std::string GetLastFilePath() const; private: - static constexpr std::size_t amiibo_size = 0x21C; - static constexpr std::size_t amiibo_size_without_password = amiibo_size - 0x8; + static constexpr std::size_t AmiiboSize = 0x21C; + static constexpr std::size_t AmiiboSizeWithoutPassword = AmiiboSize - 0x8; + static constexpr std::size_t MifareSize = 0x400; std::string file_path{}; State state{State::Initialized}; - std::vector<u8> amiibo_data; + std::vector<u8> nfc_data; Common::Input::PollingMode polling_mode{Common::Input::PollingMode::Pasive}; }; } // namespace InputCommon |