diff --git a/CHANGES b/CHANGES index d04204fc7..03d42e0e9 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,6 @@ 0.9.2: (Future) Emulation fixes: + - GB Video: Clear VRAM on reset (fixes mgba.io/i/2152) - GBA Video: Revert scanline latching changes (fixes mgba.io/i/2153, mgba.io/i/2149) Other fixes: - Core: Fix memory leak in opening games from the library diff --git a/src/gb/video.c b/src/gb/video.c index 2dca89f17..6331bdb45 100644 --- a/src/gb/video.c +++ b/src/gb/video.c @@ -80,6 +80,7 @@ void GBVideoReset(struct GBVideo* video) { video->frameskipCounter = 0; GBVideoSwitchBank(video, 0); + memset(video->vram, 0, GB_SIZE_VRAM); video->renderer->vram = video->vram; memset(&video->oam, 0, sizeof(video->oam)); video->renderer->oam = &video->oam;