all repos — mgba @ e58096cebab4b8d757c965417251942a29510266

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

e58096cebab4b8d757c965417251942a29510266

parent

5b395aafe0a45fda0ce5a4944d589799e5c186eb

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

jump to
M CHANGESCHANGES

@@ -22,6 +22,7 @@ - GB Memory: Fix HDMA count starting in mode 0 (fixes mgba.io/i/855)

- GB Memory: Actually load latch time from savestate - 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: - Qt: Don't rebuild library view if style hasn't changed - SDL: Fix 2.0.5 build on macOS under some circumstances
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);