all repos — mgba @ 8ab757e1b37049e7e4ae295aabec7bd3061975ed

mGBA Game Boy Advance Emulator

GBA BIOS: Reset renderer when RegisterRamReset called (fixes #1756)
Vicki Pfau vi@endrift.com
Mon, 18 May 2020 18:25:03 -0700
commit

8ab757e1b37049e7e4ae295aabec7bd3061975ed

parent

503a7486e017b02e76c8a174c767f6a60a6f53b2

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -12,6 +12,7 @@ - GB Video: Fix BGPS value after skipping BIOS (fixes mgba.io/i/1717)

- GBA: Add missing RTC overrides for Legendz games - GBA BIOS: Implement dummy sound driver calls - GBA BIOS: Improve HLE BIOS timing + - GBA BIOS: Reset renderer when RegisterRamReset called (fixes mgba.io/i/1756) - GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301 and mgba.io/i/1320) - GBA Memory: Improve gamepak prefetch timing - GBA SIO: Fix Multiplayer busy bit
M src/gba/bios.csrc/gba/bios.c

@@ -177,6 +177,9 @@ cpu->memory.store16(cpu, BASE_IO | 0x202, 0xFFFF, 0);

cpu->memory.store16(cpu, BASE_IO | 0x204, 0, 0); cpu->memory.store16(cpu, BASE_IO | 0x208, 0, 0); } + if (registers & 0x9C) { + gba->video.renderer->reset(gba->video.renderer); + } } static void _BgAffineSet(struct GBA* gba) {