Fix sprites 64+ not drawing
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 21:10:12 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -440,7 +440,7 @@ uint32_t bitmap = renderer->enabledBitmap[j];
if (!bitmap) { continue; } - for (i = j * 16; i < (j + 1) * 16; ++i) { + for (i = j * 32; i < (j + 1) * 32; ++i) { if (bitmap & 1) { struct GBAObj* sprite = &renderer->d.oam->obj[i]; if (sprite->transformed) {