EightBit/Z80/fusetest_Z80/FuseTestEvents.cpp
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

14 lines
266 B
C++

#include "stdafx.h"
#include "FuseTestEvents.h"
void Fuse::TestEvents::read(std::ifstream& file) {
bool complete = false;
do {
TestEvent event;
event.read(file);
complete = !event.valid;
if (!complete)
events.push_back(event);
} while (!complete);
}