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/acefruit.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/acefruit.c')
-rw-r--r-- | src/mame/drivers/acefruit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/acefruit.c b/src/mame/drivers/acefruit.c index 10e0be2f42b..484b978376c 100644 --- a/src/mame/drivers/acefruit.c +++ b/src/mame/drivers/acefruit.c @@ -79,8 +79,8 @@ static INTERRUPT_GEN( acefruit_vblank ) static SCREEN_UPDATE( acefruit ) { acefruit_state *state = screen.machine().driver_data<acefruit_state>(); - int startrow = cliprect->min_y / 8; - int endrow = cliprect->max_y / 8; + int startrow = cliprect.min_y / 8; + int endrow = cliprect.max_y / 8; int row; int col; |