mirror of https://github.com/mgba-emu/mgba.git
DS Core: Don't attempt to reload BIOS and firmware if already loaded
This commit is contained in:
parent
39df2d1a5c
commit
3ccffdc29e
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue