mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix skipping BIOS on irregularly sized ROMs
This commit is contained in:
parent
1a800c4dca
commit
35ac41a37e
1
CHANGES
1
CHANGES
|
@ -24,6 +24,7 @@ Other fixes:
|
|||
- FFmpeg: Improve initialization reliability and cleanup
|
||||
- Wii: Fix aspect ratio (fixes mgba.io/i/500)
|
||||
- FFmpeg: Fix audio conversion producing gaps
|
||||
- GBA: Fix skipping BIOS on irregularly sized ROMs
|
||||
Misc:
|
||||
- Qt: Add missing HEVC NVENC option (fixes mgba.io/i/1323)
|
||||
- Qt: Improve camera initialization
|
||||
|
|
|
@ -445,7 +445,7 @@ static void _GBACoreReset(struct mCore* core) {
|
|||
#endif
|
||||
|
||||
ARMReset(core->cpu);
|
||||
if (core->opts.skipBios && gba->isPristine) {
|
||||
if (core->opts.skipBios && (gba->romVf || gba->memory.rom)) {
|
||||
GBASkipBIOS(core->board);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -218,10 +218,6 @@ void GBAReset(struct ARMCore* cpu) {
|
|||
if (gba->pristineRomSize > SIZE_CART0) {
|
||||
GBAMatrixReset(gba);
|
||||
}
|
||||
|
||||
if (!gba->romVf && gba->memory.rom) {
|
||||
GBASkipBIOS(gba);
|
||||
}
|
||||
}
|
||||
|
||||
void GBASkipBIOS(struct GBA* gba) {
|
||||
|
|
Loading…
Reference in New Issue