EightBit/Z80/fusetest_Z80/FuseTestEvent.h
2022-01-17 19:10:15 +00:00

23 lines
334 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) {}
bool operator==(const TestEvent& rhs) const;
void read(std::ifstream& file);
void dump() const;
};
}