all repos — mgba @ 271211846f889e317d4ab2ef84df22129c8313a6

mGBA Game Boy Advance Emulator

GBA Video: Fix windowing with sprites after c9f0ac5
Jeffrey Pfau jeffrey@endrift.com
Wed, 19 Nov 2014 23:45:52 -0800
commit

271211846f889e317d4ab2ef84df22129c8313a6

parent

d8b745252619874b866f895291ea9d9838ff6367

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

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