summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/amiibo_crypto.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-13 02:59:46 +0100
committerGitHub <noreply@github.com>2023-03-13 02:59:46 +0100
commit54c359d1e3915653ce07a26e0e574aca5a331cb1 (patch)
tree75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/core/hle/service/nfp/amiibo_crypto.cpp
parentMerge pull request #9913 from ameerj/acc-dma-refactor (diff)
parentgeneral: fix spelling mistakes (diff)
downloadyuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.gz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.bz2
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.lz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.xz
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.tar.zst
yuzu-54c359d1e3915653ce07a26e0e574aca5a331cb1.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nfp/amiibo_crypto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/amiibo_crypto.cpp b/src/core/hle/service/nfp/amiibo_crypto.cpp
index ddf04b1d7..ad73edbda 100644
--- a/src/core/hle/service/nfp/amiibo_crypto.cpp
+++ b/src/core/hle/service/nfp/amiibo_crypto.cpp
@@ -137,7 +137,7 @@ EncryptedNTAG215File EncodedDataToNfcData(const NTAG215File& encoded_data) {
}
u32 GetTagPassword(const TagUuid& uuid) {
- // Verifiy that the generated password is correct
+ // Verify that the generated password is correct
u32 password = 0xAA ^ (uuid.uid[1] ^ uuid.uid[3]);
password &= (0x55 ^ (uuid.uid[2] ^ uuid.uid[4])) << 8;
password &= (0xAA ^ (uuid.uid[3] ^ uuid.uid[5])) << 16;