all repos — mgba @ 92aa78cf0c374e37ba4ef3b7f95a969295e15847

mGBA Game Boy Advance Emulator

GBA: Fix video timing when skipping BIOS (fixes #1318)
Vicki Pfau vi@endrift.com
Sat, 23 Feb 2019 02:08:30 -0800
commit

92aa78cf0c374e37ba4ef3b7f95a969295e15847

parent

31dc70e6370239292dee9649b54e28ff71f08073

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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); }