Fix uninitialized memory for OAM count
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 Aug 2014 01:26:33 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -103,6 +103,7 @@ softwareRenderer->objwin.packed = 0;
softwareRenderer->objwin.priority = 2; softwareRenderer->winout.packed = 0; softwareRenderer->winout.priority = 3; + softwareRenderer->oamMax = 0; softwareRenderer->mosaic.packed = 0;