EightBit/Z80/fusetest_Z80/FuseMemoryDatum.h

23 lines
329 B
C
Raw Normal View History

#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);
};
}