diff options
author | Aaron Giles <aaron@aarongiles.com> | 2011-12-31 21:48:36 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2011-12-31 21:48:36 +0000 |
commit | fcc81b7c6dcc40a8ae944616501f90963ca2aa08 (patch) | |
tree | d0e4ab76c92ca711073e8dd3113103083896156f /src/mame/drivers/backfire.c | |
parent | 0fb2402169d60ebe944a741408cc7268fd22ca80 (diff) |
Bulk converted cliprect * to cliprect & across the system. This makes
cliprects mandatory everywhere. In general, cliprects were being
correctly passed through the video side of most drivers already, so
it is mostly a semantic change. Note that with my previous change,
bitmaps have cliprects, so if you just want to clip to the bitmap's
boundaries, pass bitmap->cliprect() instead of NULL (which is no
longer permitted). [Aaron Giles]
Diffstat (limited to 'src/mame/drivers/backfire.c')
-rw-r--r-- | src/mame/drivers/backfire.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/backfire.c b/src/mame/drivers/backfire.c index 274ec638e8f..019ac60387b 100644 --- a/src/mame/drivers/backfire.c +++ b/src/mame/drivers/backfire.c @@ -95,7 +95,7 @@ static SCREEN_UPDATE( backfire_left ) deco16ic_pf_update(state->m_deco_tilegen2, state->m_pf3_rowscroll, state->m_pf4_rowscroll); screen.machine().priority_bitmap->fill(0); - bitmap->fill(0x100, *cliprect); + bitmap->fill(0x100, cliprect); if (state->m_left_priority[0] == 0) { @@ -128,7 +128,7 @@ static SCREEN_UPDATE( backfire_right ) deco16ic_pf_update(state->m_deco_tilegen2, state->m_pf3_rowscroll, state->m_pf4_rowscroll); screen.machine().priority_bitmap->fill(0); - bitmap->fill(0x500, *cliprect); + bitmap->fill(0x500, cliprect); if (state->m_right_priority[0] == 0) { |