summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tunhunt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tunhunt.cpp')
-rw-r--r--src/mame/video/tunhunt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/tunhunt.cpp b/src/mame/video/tunhunt.cpp
index 588f6253274..a5712f2afa1 100644
--- a/src/mame/video/tunhunt.cpp
+++ b/src/mame/video/tunhunt.cpp
@@ -223,10 +223,10 @@ void tunhunt_state::draw_motion_object(bitmap_ind16 &bitmap, const rectangle &cl
const int color = ((span_data >> 6) & 0x3) ^ 0x3;
int count = (span_data & 0x1f) + 1;
while (count-- && x < 256)
- tmpbitmap.pix16(line, x++) = color;
+ tmpbitmap.pix(line, x++) = color;
}
while (x < 256)
- tmpbitmap.pix16(line, x++) = 0;
+ tmpbitmap.pix(line, x++) = 0;
}
int scaley;
@@ -303,7 +303,7 @@ void tunhunt_state::draw_box(bitmap_ind16 &bitmap, const rectangle &cliprect)
}
}
if (x >= cliprect.left() && x <= cliprect.right())
- bitmap.pix16(0xff-y, x) = color;
+ bitmap.pix(0xff-y, x) = color;
}
}
}