mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-16 13:04:48 +00:00
982bccf0c9
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
23 lines
329 B
C++
23 lines
329 B
C++
#pragma once
|
|
|
|
#include <cinttypes>
|
|
#include <vector>
|
|
#include <fstream>
|
|
|
|
namespace Fuse {
|
|
class MemoryDatum {
|
|
private:
|
|
bool finish;
|
|
|
|
public:
|
|
int address;
|
|
std::vector<uint8_t> bytes;
|
|
|
|
MemoryDatum()
|
|
: address(-1),
|
|
finish(false) {}
|
|
|
|
bool finished() const { return finish; }
|
|
void read(std::ifstream& file);
|
|
};
|
|
} |