DS Core: Don't attempt to reload BIOS and firmware if already loaded

This commit is contained in:
Vicki Pfau 2020-07-20 09:13:37 -07:00
parent 39df2d1a5c
commit 3ccffdc29e
1 changed files with 3 additions and 3 deletions

View File

@ -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");