mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-05 19:05:32 +00:00
78e5451f93
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);
|
|
};
|
|
} |