all repos — mgba @ 486b7abc9460e985996d93e9cfc25c2e88d10aad

mGBA Game Boy Advance Emulator

GBA BIOS: Use core's VRAM variable instead of renderer's
Vicki Pfau vi@endrift.com
Mon, 11 Sep 2017 00:41:02 -0700
commit

486b7abc9460e985996d93e9cfc25c2e88d10aad

parent

2d558338bfa00802fb62e746a022185c812ac35b

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

jump to
M CHANGESCHANGES

@@ -36,6 +36,7 @@ - GB Memory: Actually load latch time from savestate

- GB Serialize: Fix game title check - GB, GBA: Fix sync to video with frameskip - GB Audio: Fix NRx2 writes while active (fixes mgba.io/i/866) + - GBA BIOS: Use core's VRAM variable instead of renderer's Misc: - GBA Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
M src/gba/bios.csrc/gba/bios.c

@@ -61,7 +61,7 @@ if (registers & 0x04) {

memset(gba->video.palette, 0, SIZE_PALETTE_RAM); } if (registers & 0x08) { - memset(gba->video.renderer->vram, 0, SIZE_VRAM); + memset(gba->video.vram, 0, SIZE_VRAM); } if (registers & 0x10) { memset(gba->video.oam.raw, 0, SIZE_OAM);