all repos — mgba @ d41b8c5df624dedceb4a13d106a7b9ea2dd7f5cf

mGBA Game Boy Advance Emulator

Fix uninitialized memory for OAM count
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 Aug 2014 01:26:33 -0700
commit

d41b8c5df624dedceb4a13d106a7b9ea2dd7f5cf

parent

cdd6d5a815c40b4f23f6f27b5f4645010d124689

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

jump to
M src/gba/renderers/video-software.csrc/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;