summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/toobin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/toobin.cpp')
-rw-r--r--src/mame/video/toobin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/toobin.cpp b/src/mame/video/toobin.cpp
index d16fce21cd1..643b6d7f26d 100644
--- a/src/mame/video/toobin.cpp
+++ b/src/mame/video/toobin.cpp
@@ -224,13 +224,13 @@ uint32_t toobin_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap
/* draw and merge the MO */
bitmap_ind16 &mobitmap = m_mob->bitmap();
const pen_t *palette = m_palette->pens();
- for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
+ for (int y = cliprect.top(); y <= cliprect.bottom(); y++)
{
uint32_t *dest = &bitmap.pix32(y);
uint16_t *mo = &mobitmap.pix16(y);
uint16_t *pf = &m_pfbitmap.pix16(y);
uint8_t *pri = &priority_bitmap.pix8(y);
- for (int x = cliprect.min_x; x <= cliprect.max_x; x++)
+ for (int x = cliprect.left(); x <= cliprect.right(); x++)
{
uint16_t pix = pf[x];
if (mo[x] != 0xffff)