GBA Video: Fix windowing with sprites after c9f0ac5
Jeffrey Pfau jeffrey@endrift.com
Wed, 19 Nov 2014 23:45:52 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
M
src/gba/renderers/video-software.c
→
src/gba/renderers/video-software.c
@@ -1631,7 +1631,7 @@ }
static void _postprocessSprite(struct GBAVideoSoftwareRenderer* renderer, unsigned priority) { int x; - uint32_t* pixel = renderer->row; + uint32_t* pixel = &renderer->row[renderer->start]; uint32_t flags = FLAG_TARGET_2 * renderer->target2Obj; int objwinSlowPath = GBARegisterDISPCNTIsObjwinEnable(renderer->dispcnt);