DS Core: Don't attempt to reload BIOS and firmware if already loaded
Vicki Pfau vi@endrift.com
Mon, 20 Jul 2020 09:13:37 -0700
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/ds/core.c
→
src/ds/core.c
@@ -319,9 +319,9 @@ struct VFile* bios7 = NULL;
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");