mirror of https://github.com/mgba-emu/mgba.git
GB Video: Mark OAM dirty on reset (fixes #10620)
This commit is contained in:
parent
ccd6034ba1
commit
4ff24a68d0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue