EightBit/LR35902/fusetest_LR35902/FuseTestEvents.cpp
Adrian.Conlon f0515ae65f First stab at a port of the fuse tests to LR35902.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-08-10 20:34:17 +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);
}