GB Video: Mark OAM dirty on reset (fixes #10620)

This commit is contained in:
Vicki Pfau 2018-04-23 22:57:26 -07:00
parent ccd6034ba1
commit 4ff24a68d0
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ static void GBAVideoSoftwareRendererReset(struct GBAVideoRenderer* renderer) {
softwareRenderer->winN[1] = (struct WindowN) { .control = { .priority = 1 } }; softwareRenderer->winN[1] = (struct WindowN) { .control = { .priority = 1 } };
softwareRenderer->objwin = (struct WindowControl) { .priority = 2 }; softwareRenderer->objwin = (struct WindowControl) { .priority = 2 };
softwareRenderer->winout = (struct WindowControl) { .priority = 3 }; softwareRenderer->winout = (struct WindowControl) { .priority = 3 };
softwareRenderer->oamDirty = 1;
softwareRenderer->oamMax = 0; softwareRenderer->oamMax = 0;
softwareRenderer->mosaic = 0; softwareRenderer->mosaic = 0;