EightBit/LR35902/fusetest_LR35902/FuseTestEvent.h

21 lines
302 B
C
Raw Normal View History

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