summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfc/common/amiibo_crypto.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-05-23 02:31:39 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-05-23 02:42:09 +0200
commitf63586c5f5aad1eb4d25e59d81a83e58529988ff (patch)
treec47a184bd92f70a2201421d0b0d0af415677f8e4 /src/core/hle/service/nfc/common/amiibo_crypto.cpp
parentMerge pull request #10392 from danilaml/update-cubeb-again (diff)
downloadyuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.tar
yuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.tar.gz
yuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.tar.bz2
yuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.tar.lz
yuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.tar.xz
yuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.tar.zst
yuzu-f63586c5f5aad1eb4d25e59d81a83e58529988ff.zip
Diffstat (limited to 'src/core/hle/service/nfc/common/amiibo_crypto.cpp')
-rw-r--r--src/core/hle/service/nfc/common/amiibo_crypto.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/service/nfc/common/amiibo_crypto.cpp b/src/core/hle/service/nfc/common/amiibo_crypto.cpp
index f3901ee8d..b2bcb68c3 100644
--- a/src/core/hle/service/nfc/common/amiibo_crypto.cpp
+++ b/src/core/hle/service/nfc/common/amiibo_crypto.cpp
@@ -52,9 +52,6 @@ bool IsAmiiboValid(const EncryptedNTAG215File& ntag_file) {
if (ntag_file.compability_container != 0xEEFF10F1U) {
return false;
}
- if (amiibo_data.constant_value != 0xA5) {
- return false;
- }
if (amiibo_data.model_info.tag_type != NFC::PackedTagType::Type2) {
return false;
}