GBA Video: Fix windowing with sprites after c9f0ac5

This commit is contained in:
Jeffrey Pfau 2014-11-19 23:45:52 -08:00
parent d8b7452526
commit 271211846f
1 changed files with 1 additions and 1 deletions

View File

@ -1631,7 +1631,7 @@ static int _preprocessSprite(struct GBAVideoSoftwareRenderer* renderer, struct G
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);