summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/cps1.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-02-13 10:29:11 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-02-13 10:29:11 +0000
commitbc0672544f0b6c470448f260b930b5aff5f5f940 (patch)
treef706c14b8d87d2d6da2601573343cf714e747762 /src/mame/video/cps1.c
parentf897a1a67dd3644dcf54600d08792309e8321637 (diff)
Moved drawgfx functions to gfx_element (nw)
Diffstat (limited to 'src/mame/video/cps1.c')
-rw-r--r--src/mame/video/cps1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/video/cps1.c b/src/mame/video/cps1.c
index a035e7b5f55..56e4d7b1572 100644
--- a/src/mame/video/cps1.c
+++ b/src/mame/video/cps1.c
@@ -2319,15 +2319,15 @@ void cps_state::cps1_render_sprites( screen_device &screen, bitmap_ind16 &bitmap
#define DRAWSPRITE(CODE,COLOR,FLIPX,FLIPY,SX,SY) \
{ \
if (flip_screen()) \
- pdrawgfx_transpen(bitmap,\
- cliprect,machine().gfx[2], \
+ machine().gfx[2]->prio_transpen(bitmap,\
+ cliprect, \
CODE, \
COLOR, \
!(FLIPX),!(FLIPY), \
512-16-(SX),256-16-(SY), screen.priority(),0x02,15); \
else \
- pdrawgfx_transpen(bitmap,\
- cliprect,machine().gfx[2], \
+ machine().gfx[2]->prio_transpen(bitmap,\
+ cliprect, \
CODE, \
COLOR, \
FLIPX,FLIPY, \
@@ -2552,15 +2552,15 @@ void cps_state::cps2_render_sprites( screen_device &screen, bitmap_ind16 &bitmap
#define DRAWSPRITE(CODE,COLOR,FLIPX,FLIPY,SX,SY) \
{ \
if (flip_screen()) \
- pdrawgfx_transpen(bitmap,\
- cliprect,machine().gfx[2], \
+ machine().gfx[2]->prio_transpen(bitmap,\
+ cliprect, \
CODE, \
COLOR, \
!(FLIPX),!(FLIPY), \
512-16-(SX),256-16-(SY), screen.priority(),primasks[priority],15); \
else \
- pdrawgfx_transpen(bitmap,\
- cliprect,machine().gfx[2], \
+ machine().gfx[2]->prio_transpen(bitmap,\
+ cliprect, \
CODE, \
COLOR, \
FLIPX,FLIPY, \