Add Yuzu NFC types header, clean up headers

This commit is contained in:
wheremyfoodat 2023-09-09 15:06:04 +03:00
parent 139ea16fda
commit 679eb0f7bc
6 changed files with 428 additions and 5 deletions

View file

@ -1,3 +1,11 @@
#include "services/amiibo_device.hpp"
void AmiiboDevice::reset() { loaded = false; }
void AmiiboDevice::reset() {
encrypted = false;
loaded = false;
}
// Load amiibo information from our raw 540 byte array
void AmiiboDevice::loadFromRaw() {
}

View file

@ -75,6 +75,8 @@ bool NFCService::loadAmiibo(const std::filesystem::path& path) {
return false;
}
device.loadFromRaw();
if (tagOutOfRangeEvent.has_value()) {
kernel.clearEvent(tagOutOfRangeEvent.value());
}