mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-08-28 06:28:57 +00:00
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);
|
|
};
|
|
} |