GBA Core: Fix BIOS loading
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Feb 2016 14:27:45 -0800
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/gba/core.c
→
src/gba/core.c
@@ -75,7 +75,9 @@ struct VFile* bios = 0;
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");