summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/rohga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/rohga.cpp')
-rw-r--r--src/mame/video/rohga.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/rohga.cpp b/src/mame/video/rohga.cpp
index e1e6da0e055..73833d5dc9a 100644
--- a/src/mame/video/rohga.cpp
+++ b/src/mame/video/rohga.cpp
@@ -95,12 +95,12 @@ void rohga_state::mixwizdfirelayer(bitmap_rgb32 &bitmap, const rectangle &clipre
uint32_t* dstline;
- for (y=cliprect.min_y;y<=cliprect.max_y;y++)
+ for (y=cliprect.top();y<=cliprect.bottom();y++)
{
srcline=&sprite_bitmap->pix16(y,0);
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 pix = srcline[x];
@@ -183,7 +183,7 @@ void rohga_state::mixnitroballlayer(screen_device &screen, bitmap_rgb32 &bitmap,
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);
@@ -191,7 +191,7 @@ void rohga_state::mixnitroballlayer(screen_device &screen, bitmap_rgb32 &bitmap,
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];