Added sprite wrapping to Irem m63 driver [Tomasz Slanina, Stefan Lindberg]

This commit is contained in:
Tomasz Slanina 2008-08-09 17:33:55 +00:00
parent dfd2e0d7df
commit 12e0d61473

View File

@ -286,6 +286,18 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
sx, sy,
cliprect,
TRANSPARENCY_PEN, 0);
/* sprite wrapping - verified on real hardware*/
if(sx>0xf0)
{
drawgfx(bitmap, machine->gfx[2],
code, color,
flipx, flipy,
sx-0x100, sy,
cliprect,
TRANSPARENCY_PEN, 0);
}
}
}