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

@ -0,0 +1,15 @@
#pragma once
#include <array>
#include "helpers.hpp"
#include "io_file.hpp"
class AmiiboDevice {
public:
static constexpr size_t tagSize = 0x21C;
bool loaded = false;
std::array<u8, tagSize> raw;
void reset();
};