mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix skipping BIOS on irregularly sized ROMs
This commit is contained in:
parent
19747ea21d
commit
109472f67f
1
CHANGES
1
CHANGES
|
@ -43,6 +43,7 @@ Other fixes:
|
||||||
- Qt: Fix some Qt display driver race conditions
|
- Qt: Fix some Qt display driver race conditions
|
||||||
- FFmpeg: Fix audio conversion producing gaps
|
- FFmpeg: Fix audio conversion producing gaps
|
||||||
- Core: Improved lockstep driver reliability (Le Hoang Quyen)
|
- Core: Improved lockstep driver reliability (Le Hoang Quyen)
|
||||||
|
- GBA: Fix skipping BIOS on irregularly sized ROMs
|
||||||
Misc:
|
Misc:
|
||||||
- GBA Savedata: EEPROM performance fixes
|
- GBA Savedata: EEPROM performance fixes
|
||||||
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
- GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
|
||||||
|
|
|
@ -528,7 +528,7 @@ static void _GBACoreReset(struct mCore* core) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ARMReset(core->cpu);
|
ARMReset(core->cpu);
|
||||||
if (core->opts.skipBios && gba->isPristine) {
|
if (core->opts.skipBios && (gba->romVf || gba->memory.rom)) {
|
||||||
GBASkipBIOS(core->board);
|
GBASkipBIOS(core->board);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,10 +241,6 @@ void GBAReset(struct ARMCore* cpu) {
|
||||||
if (gba->pristineRomSize > SIZE_CART0) {
|
if (gba->pristineRomSize > SIZE_CART0) {
|
||||||
GBAMatrixReset(gba);
|
GBAMatrixReset(gba);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gba->romVf && gba->memory.rom) {
|
|
||||||
GBASkipBIOS(gba);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GBASkipBIOS(struct GBA* gba) {
|
void GBASkipBIOS(struct GBA* gba) {
|
||||||
|
|
Loading…
Reference in New Issue