Fix PowerPC OS X compile (nw)

This commit is contained in:
R. Belmont 2012-01-13 03:58:04 +00:00
parent 46d7bc5fd8
commit 2642f11217

View File

@ -249,12 +249,11 @@ VIDEO_START( bigfight )
/********************************************************************/ /********************************************************************/
template<class _BitmapClass> template<class _BitmapClass>
INLINE void roundupt_drawgfxzoomrotate( INLINE void roundupt_drawgfxzoomrotate(tatsumi_state *state,
_BitmapClass &dest_bmp, const rectangle &clip, const gfx_element *gfx, _BitmapClass &dest_bmp, const rectangle &clip, const gfx_element *gfx,
UINT32 code,UINT32 color,int flipx,int flipy,UINT32 ssx,UINT32 ssy, UINT32 code,UINT32 color,int flipx,int flipy,UINT32 ssx,UINT32 ssy,
int scalex, int scaley, int rotate, int write_priority_only ) int scalex, int scaley, int rotate, int write_priority_only )
{ {
tatsumi_state *state = gfx->machine().driver_data<tatsumi_state>();
rectangle myclip; rectangle myclip;
if (!scalex || !scaley) return; if (!scalex || !scaley) return;
@ -642,13 +641,13 @@ static void draw_sprites(running_machine &machine, _BitmapClass &bitmap, const r
for (w = 0; w < x_width; w++) { for (w = 0; w < x_width; w++) {
if (rotate) if (rotate)
roundupt_drawgfxzoomrotate( roundupt_drawgfxzoomrotate(state,
state->m_temp_bitmap,cliprect,machine.gfx[0], state->m_temp_bitmap,cliprect,machine.gfx[0],
base, base,
color,flip_x,flip_y,x_pos,render_y, color,flip_x,flip_y,x_pos,render_y,
scale,scale,0,write_priority_only); scale,scale,0,write_priority_only);
else else
roundupt_drawgfxzoomrotate( roundupt_drawgfxzoomrotate(state,
bitmap,cliprect,machine.gfx[0], bitmap,cliprect,machine.gfx[0],
base, base,
color,flip_x,flip_y,x_pos,render_y, color,flip_x,flip_y,x_pos,render_y,