03359: sonson: unsupported negative sprite positions

This commit is contained in:
Angelo Salese 2009-07-26 14:20:24 +00:00
parent 5da6a0477e
commit 347f835803

View File

@ -161,6 +161,13 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
code, color,
flipx, flipy,
sx, sy, 0);
/* wrap-around x */
drawgfx_transpen(bitmap, cliprect,
machine->gfx[1],
code, color,
flipx, flipy,
sx - 256, sy, 0);
}
}