all repos — mgba @ 3537099820219ae0ea4e7ea2a38b20ffaf310b09

mGBA Game Boy Advance Emulator

Fix sprites 64+ not drawing
Jeffrey Pfau jeffrey@endrift.com
Sun, 21 Jul 2013 21:10:12 -0700
commit

3537099820219ae0ea4e7ea2a38b20ffaf310b09

parent

774b7d75bc0d4226c1b629abfd53534380912f3f

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

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