From 9d3991e73ec8f15ab8eb9f27e60ead122f5836de Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Mon, 3 Oct 2022 01:37:30 +0200 Subject: [PATCH] early-access version 2989 --- README.md | 2 +- src/core/hle/service/nfp/amiibo_crypto.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d04c5b9a7..3b9f85c47 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2988. +This is the source code for early-access 2989. ## Legal Notice diff --git a/src/core/hle/service/nfp/amiibo_crypto.cpp b/src/core/hle/service/nfp/amiibo_crypto.cpp index 76fbd2526..ce0bc3f75 100755 --- a/src/core/hle/service/nfp/amiibo_crypto.cpp +++ b/src/core/hle/service/nfp/amiibo_crypto.cpp @@ -58,7 +58,7 @@ bool IsAmiiboValid(const EncryptedNTAG215File& ntag_file) { if (amiibo_data.model_info.constant_value != 0x02) { return false; } - if (ntag_file.dynamic_lock != 0xBD0F0001U) { + if ((ntag_file.dynamic_lock & 0xFFFFFF) != 0x0F0001U) { return false; } if (ntag_file.CFG0 != 0x04000000U) {