EightBit/LR35902/fusetest_LR35902/FuseTestEvent.h
Adrian.Conlon 42b1b7dc53 Add a one off converter for Z80 -> LR35902 fuse tests (TBC!)
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-08-10 23:46:41 +01:00

21 lines
302 B
C++

#pragma once
#include <string>
namespace Fuse {
class TestEvent
{
public:
bool valid;
std::string specifier;
int cycles, address, value;
TestEvent()
: valid(false),
cycles(-1), address(-1), value(-1) {
}
void read(std::ifstream& file);
void write(std::ofstream& file);
};
}