mirror of https://github.com/mgba-emu/mgba.git
GBA Core: Fix BIOS loading
This commit is contained in:
parent
e775c5900d
commit
e4aed77f1e
|
@ -75,7 +75,9 @@ static void _GBACoreLoadConfig(struct mCore* core) {
|
|||
if (core->opts.useBios) {
|
||||
bios = VFileOpen(core->opts.bios, O_RDONLY);
|
||||
}
|
||||
GBALoadBIOS(gba, bios);
|
||||
if (bios) {
|
||||
GBALoadBIOS(gba, bios);
|
||||
}
|
||||
#endif
|
||||
|
||||
const char* idleOptimization = mCoreConfigGetValue(&core->config, "idleOptimization");
|
||||
|
|
Loading…
Reference in New Issue