mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-03 12:27:21 +12:00
Add reading amiibo from .amiibo file
This commit is contained in:
parent
3110da1fd6
commit
72ae5d2bfa
5 changed files with 45 additions and 2 deletions
15
include/services/amiibo_device.hpp
Normal file
15
include/services/amiibo_device.hpp
Normal 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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue