summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/irobot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/irobot.cpp')
-rw-r--r--src/mame/video/irobot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/irobot.cpp b/src/mame/video/irobot.cpp
index cdeef307727..1ff2031e48e 100644
--- a/src/mame/video/irobot.cpp
+++ b/src/mame/video/irobot.cpp
@@ -352,7 +352,7 @@ uint32_t irobot_state::screen_update_irobot(screen_device &screen, bitmap_ind16
int x, y, offs;
/* copy the polygon bitmap */
- for (y = cliprect.min_y; y <= cliprect.max_y; y++)
+ for (y = cliprect.top(); y <= cliprect.bottom(); y++)
draw_scanline8(bitmap, 0, y, BITMAP_WIDTH, &bitmap_base[y * BITMAP_WIDTH], nullptr);
/* redraw the non-zero characters in the alpha layer */