all repos — mgba @ 109472f67f5a6019d994272b7cd5db31935294b6

mGBA Game Boy Advance Emulator

GBA: Fix skipping BIOS on irregularly sized ROMs
Vicki Pfau vi@endrift.com
Sun, 19 May 2019 15:05:58 -0700
commit

109472f67f5a6019d994272b7cd5db31935294b6

parent

19747ea21d890af09ce96dc45827543f8bdc4de0

3 files changed, 2 insertions(+), 5 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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.csrc/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) {