EightBit/Z80/fusetest_Z80/FuseMemoryDatum.h
Adrian.Conlon 982bccf0c9 First stab at adding Fuse Test runner.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-06-05 23:24:08 +01:00

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