From 3ccffdc29eab88906a6cbb9d686f474261da4e16 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 20 Jul 2020 09:13:37 -0700 Subject: [PATCH] DS Core: Don't attempt to reload BIOS and firmware if already loaded --- src/ds/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ds/core.c b/src/ds/core.c index 05b14d296..027688af9 100644 --- a/src/ds/core.c +++ b/src/ds/core.c @@ -319,9 +319,9 @@ static void _DSCoreReset(struct mCore* core) { struct VFile* bios9 = NULL; struct VFile* firm = NULL; if (core->opts.useBios) { - bool found7 = false; - bool found9 = false; - bool foundFirm = false; + bool found7 = !!ds->bios7Vf; + bool found9 = !!ds->bios9Vf; + bool foundFirm = !!ds->firmwareVf; if (!found7) { const char* configPath = mCoreConfigGetValue(&core->config, "ds.bios7");