Test: Load dummy save in CInema

This commit is contained in:
Vicki Pfau 2020-07-22 22:20:01 -07:00
parent f5ed6a6c81
commit 7ecdf94b6b
1 changed files with 4 additions and 0 deletions

View File

@ -605,7 +605,11 @@ void CInemaTestRun(struct CInemaTest* test, struct Table* configTree) {
CInemaConfigGetUInt(configTree, test->name, "video", &video);
CInemaConfigLoad(configTree, test->name, core);
struct VFile* save = VFileMemChunk(NULL, 0);
core->loadROM(core, rom);
if (!core->loadSave(core, save)) {
save->close(save);
}
core->rtc.override = RTC_FAKE_EPOCH;
core->rtc.value = 1200000000;
core->reset(core);