Add reading amiibo from .amiibo file

This commit is contained in:
wheremyfoodat 2023-09-08 23:16:33 +03:00
parent 3110da1fd6
commit 72ae5d2bfa
5 changed files with 45 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include <filesystem>
#include "amiibo_device.hpp"
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "logger.hpp"
@ -35,6 +36,7 @@ class NFCService {
// Kernel events signaled when an NFC tag goes in and out of range respectively
std::optional<Handle> tagInRangeEvent, tagOutOfRangeEvent;
AmiiboDevice device;
Old3DSAdapterStatus adapterStatus;
TagStatus tagStatus;
bool initialized = false;