GBA: Fix video timing when skipping BIOS (fixes #1318)
Vicki Pfau vi@endrift.com
Sat, 23 Feb 2019 02:08:30 -0800
2 files changed,
3 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -25,6 +25,7 @@ - Qt: Fix window icon on X11
- GB, GBA Serialize: Fix loading two states in a row - GBA Video: Fix enabling layers in non-tile modes (fixes mgba.io/i/1317) - Qt: Fix quick load recent accidentally saving (fixes mgba.io/i/1309) + - GBA: Fix video timing when skipping BIOS (fixes mgba.io/i/1318) Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M
src/gba/gba.c
→
src/gba/gba.c
@@ -254,7 +254,8 @@ cpu->gprs[ARM_PC] = BASE_CART0;
} else { cpu->gprs[ARM_PC] = BASE_WORKING_RAM; } - gba->memory.io[REG_VCOUNT >> 1] = 0x7E; + gba->video.vcount = 0x7D; + gba->memory.io[REG_VCOUNT >> 1] = 0x7D; gba->memory.io[REG_POSTFLG >> 1] = 1; ARMWritePC(cpu); }