all repos — mgba @ cde4e1adee349cb162b12301c861de0a3460e7fb

mGBA Game Boy Advance Emulator

GBA Video: Fix OAM not invalidating after reset (fixes #1630)
Vicki Pfau vi@endrift.com
Sat, 25 Jan 2020 14:06:01 -0800
commit

cde4e1adee349cb162b12301c861de0a3460e7fb

parent

b169f4b29c5c671343e747f1892c5a7107e40d89

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

jump to
M CHANGESCHANGES

@@ -7,6 +7,7 @@ - GBA Memory: Misaligned SRAM writes are ignored

- GBA Serialize: Fix serializing DMA transfer register - GBA Serialize: Fix audio serialization for desynced FIFOs - GBA Serialize: Fix audio DMA timing deserialization + - GBA Video: Fix OAM not invalidating after reset (fixes mgba.io/i/1630) Other fixes: - Qt: Only dynamically reset video scale if a game is running - Qt: Fix race condition with proxied video events
M src/gba/renderers/gl.csrc/gba/renderers/gl.c

@@ -931,6 +931,7 @@

void GBAVideoGLRendererReset(struct GBAVideoRenderer* renderer) { struct GBAVideoGLRenderer* glRenderer = (struct GBAVideoGLRenderer*) renderer; + glRenderer->oamDirty = true; glRenderer->paletteDirty = true; glRenderer->vramDirty = 0xFFFFFF; glRenderer->firstAffine = -1;