GB: Fix marking BIOS as unmapped when skipping BIOS (fixes #2061)

This commit is contained in:
Vicki Pfau 2021-03-07 00:08:25 -08:00
parent bd9fdc5025
commit 8b5bec66c5
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ Emulation fixes:
- ARM: Fix long and accumulate multiply timing
- GB: Partially fix timing for skipped BIOS
- GB: Downgrade DMG-only ROMs from CGB mode even without boot ROM
- GB: Fix marking BIOS as unmapped when skipping BIOS (fixes mgba.io/i/2061)
- GB Audio: Fix serializing sweep time
- GB MBC: Fix MBC1 mode changing behavior
- GB MBC: Fix some MBC3 bit masking

View File

@ -577,6 +577,7 @@ void GBSkipBIOS(struct GB* gb) {
mTimingSchedule(&gb->timing, &gb->timer.event, gb->timer.nextDiv);
GBIOWrite(gb, GB_REG_LCDC, 0x91);
gb->memory.io[GB_REG_BANK] = 0x1;
GBVideoSkipBIOS(&gb->video);
if (gb->biosVf) {