all repos — mgba @ 279862261b36565995894eca7cc08061e808978f

mGBA Game Boy Advance Emulator

GB Video: Mark OAM dirty on reset (fixes #10620)
Vicki Pfau vi@endrift.com
Mon, 23 Apr 2018 22:57:26 -0700
commit

279862261b36565995894eca7cc08061e808978f

parent

420a15a84151065982c1170b0983f136e9b1cddb

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

jump to
M src/gba/renderers/video-software.csrc/gba/renderers/video-software.c

@@ -108,6 +108,7 @@ softwareRenderer->winN[0] = (struct WindowN) { .control = { .priority = 0 } };

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;