mirror of https://github.com/mgba-emu/mgba.git
Fix uninitialized memory for OAM count
This commit is contained in:
parent
cdd6d5a815
commit
d41b8c5df6
|
@ -103,6 +103,7 @@ static void GBAVideoSoftwareRendererInit(struct GBAVideoRenderer* renderer) {
|
||||||
softwareRenderer->objwin.priority = 2;
|
softwareRenderer->objwin.priority = 2;
|
||||||
softwareRenderer->winout.packed = 0;
|
softwareRenderer->winout.packed = 0;
|
||||||
softwareRenderer->winout.priority = 3;
|
softwareRenderer->winout.priority = 3;
|
||||||
|
softwareRenderer->oamMax = 0;
|
||||||
|
|
||||||
softwareRenderer->mosaic.packed = 0;
|
softwareRenderer->mosaic.packed = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue