diff options
Diffstat (limited to 'src/mame/video/boogwing.cpp')
-rw-r--r-- | src/mame/video/boogwing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/boogwing.cpp b/src/mame/video/boogwing.cpp index 407d47b6085..52564201416 100644 --- a/src/mame/video/boogwing.cpp +++ b/src/mame/video/boogwing.cpp @@ -40,7 +40,7 @@ void boogwing_state::mix_boogwing(screen_device &screen, bitmap_rgb32 &bitmap, c uint16_t *srcline1, *srcline2; uint8_t *srcpriline; - for (y=cliprect.min_y;y<=cliprect.max_y;y++) + for (y=cliprect.top();y<=cliprect.bottom();y++) { srcline1=&sprite_bitmap1->pix16(y,0); srcline2=&sprite_bitmap2->pix16(y,0); @@ -48,7 +48,7 @@ void boogwing_state::mix_boogwing(screen_device &screen, bitmap_rgb32 &bitmap, c dstline=&bitmap.pix32(y,0); - for (x=cliprect.min_x;x<=cliprect.max_x;x++) + for (x=cliprect.left();x<=cliprect.right();x++) { uint16_t pix1 = srcline1[x]; uint16_t pix2 = srcline2[x]; |