diff options
Diffstat (limited to 'src/mame/drivers/bmcpokr.cpp')
-rw-r--r-- | src/mame/drivers/bmcpokr.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/bmcpokr.cpp b/src/mame/drivers/bmcpokr.cpp index 288882bc8de..fcd3c212560 100644 --- a/src/mame/drivers/bmcpokr.cpp +++ b/src/mame/drivers/bmcpokr.cpp @@ -236,11 +236,10 @@ void bmcpokr_state::draw_layer(screen_device &screen, bitmap_ind16 &bitmap, cons { if (linescroll) { - if ( (y < cliprect.min_y) || (y > cliprect.max_y) ) + if ( (y < cliprect.top()) || (y > cliprect.bottom()) ) continue; - clip.min_y = y; - clip.max_y = y; + clip.sety(y, y); } int sx = (scroll[y] & 0xff) * 4; |