mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +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,
|
sx, sy,
|
||||||
cliprect,
|
cliprect,
|
||||||
TRANSPARENCY_PEN, 0);
|
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