mirror of https://github.com/mgba-emu/mgba.git
GB: Fix skipping BIOS
This commit is contained in:
parent
b6e5b6e321
commit
fce2a27a1d
1
CHANGES
1
CHANGES
|
@ -4,6 +4,7 @@ Features:
|
|||
Emulation fixes:
|
||||
- Core: Fix first event scheduling after loading savestate
|
||||
- GB Serialize: Fix switching speed modes when loading a state (fixes mgba.io/i/2097)
|
||||
- GB: Fix skipping BIOS
|
||||
- GBA Memory: Fix loading Thumb savestates when in ARM mode
|
||||
- GBA Video: Fix window start on modes 3-5 with mosaic (fixes mgba.io/i/1690)
|
||||
- GBA Video: Fix mode 3-5 overflow with mosaic (fixes mgba.io/i/1691)
|
||||
|
|
|
@ -582,13 +582,13 @@ void GBSkipBIOS(struct GB* gb) {
|
|||
mTimingDeschedule(&gb->timing, &gb->timer.event);
|
||||
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) {
|
||||
GBUnmapBIOS(gb);
|
||||
}
|
||||
|
||||
GBIOWrite(gb, GB_REG_LCDC, 0x91);
|
||||
gb->memory.io[GB_REG_BANK] = 0x1;
|
||||
GBVideoSkipBIOS(&gb->video);
|
||||
}
|
||||
|
||||
void GBMapBIOS(struct GB* gb) {
|
||||
|
|
Loading…
Reference in New Issue