From 7ecdf94b6beb5c5a78d59b9822067bb253368595 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 22 Jul 2020 22:20:01 -0700 Subject: [PATCH] Test: Load dummy save in CInema --- src/platform/test/cinema-main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform/test/cinema-main.c b/src/platform/test/cinema-main.c index fb1003585..6d40ea41d 100644 --- a/src/platform/test/cinema-main.c +++ b/src/platform/test/cinema-main.c @@ -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);