mirror of
https://github.com/holub/mame
synced 2025-05-29 17:13:05 +03:00
Added sprite wrapping to Irem m63 driver [Tomasz Slanina, Stefan Lindberg]
This commit is contained in:
parent
dfd2e0d7df
commit
12e0d61473
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user