diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-27 18:16:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 18:16:24 +0200 |
commit | 3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6 (patch) | |
tree | e267b6cd31eebc440c6accdaacd6927824381502 /src/core/hle/service/nfp/amiibo_crypto.cpp | |
parent | Merge pull request #9994 from liamwhite/integer-constant (diff) | |
parent | service: nfp: Add plain amiibo support (diff) | |
download | yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.gz yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.bz2 yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.lz yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.xz yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.tar.zst yuzu-3b30f5d8235a8b1118ffb9da932ffd3e6e15a3f6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfp/amiibo_crypto.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/nfp/amiibo_crypto.cpp b/src/core/hle/service/nfp/amiibo_crypto.cpp index bba862fb2..a3622e792 100644 --- a/src/core/hle/service/nfp/amiibo_crypto.cpp +++ b/src/core/hle/service/nfp/amiibo_crypto.cpp @@ -70,6 +70,10 @@ bool IsAmiiboValid(const EncryptedNTAG215File& ntag_file) { return true; } +bool IsAmiiboValid(const NTAG215File& ntag_file) { + return IsAmiiboValid(EncodedDataToNfcData(ntag_file)); +} + NTAG215File NfcDataToEncodedData(const EncryptedNTAG215File& nfc_data) { NTAG215File encoded_data{}; |