GBA: Fix skipping BIOS on irregularly sized ROMs
Vicki Pfau vi@endrift.com
Sun, 19 May 2019 15:05:58 -0700
3 files changed,
2 insertions(+),
5 deletions(-)
M
CHANGES
→
CHANGES
@@ -43,6 +43,7 @@ - Wii: Fix aspect ratio (fixes mgba.io/i/500)
- Qt: Fix some Qt display driver race conditions - FFmpeg: Fix audio conversion producing gaps - Core: Improved lockstep driver reliability (Le Hoang Quyen) + - GBA: Fix skipping BIOS on irregularly sized ROMs Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M
src/gba/core.c
→
src/gba/core.c
@@ -528,7 +528,7 @@ }
#endif ARMReset(core->cpu); - if (core->opts.skipBios && gba->isPristine) { + if (core->opts.skipBios && (gba->romVf || gba->memory.rom)) { GBASkipBIOS(core->board); } }
M
src/gba/gba.c
→
src/gba/gba.c
@@ -241,10 +241,6 @@ memset(gba->debugString, 0, sizeof(gba->debugString));
if (gba->pristineRomSize > SIZE_CART0) { GBAMatrixReset(gba); } - - if (!gba->romVf && gba->memory.rom) { - GBASkipBIOS(gba); - } } void GBASkipBIOS(struct GBA* gba) {