From 4ff24a68d01a102193383f4dcef8910894b23469 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 23 Apr 2018 22:57:26 -0700 Subject: [PATCH] GB Video: Mark OAM dirty on reset (fixes #10620) --- src/gba/renderers/video-software.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gba/renderers/video-software.c b/src/gba/renderers/video-software.c index 295b916a5..63313bd8e 100644 --- a/src/gba/renderers/video-software.c +++ b/src/gba/renderers/video-software.c @@ -108,6 +108,7 @@ static void GBAVideoSoftwareRendererReset(struct GBAVideoRenderer* renderer) { softwareRenderer->winN[1] = (struct WindowN) { .control = { .priority = 1 } }; softwareRenderer->objwin = (struct WindowControl) { .priority = 2 }; softwareRenderer->winout = (struct WindowControl) { .priority = 3 }; + softwareRenderer->oamDirty = 1; softwareRenderer->oamMax = 0; softwareRenderer->mosaic = 0;