summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/darkmist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/darkmist.cpp')
-rw-r--r--src/mame/video/darkmist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/darkmist.cpp b/src/mame/video/darkmist.cpp
index 9cc0bbd7d45..4a213bf967d 100644
--- a/src/mame/video/darkmist.cpp
+++ b/src/mame/video/darkmist.cpp
@@ -103,12 +103,12 @@ void darkmist_state::mix_layer(screen_device &screen, bitmap_ind16 &bitmap, cons
{
for (int y = cliprect.min_y; y <= cliprect.max_y; y++)
{
- uint16_t *dest = &bitmap.pix16(y);
- uint16_t *src = &m_temp_bitmap.pix16(y);
+ uint16_t *const dest = &bitmap.pix(y);
+ uint16_t const *const src = &m_temp_bitmap.pix(y);
for (int x = cliprect.min_x; x <= cliprect.max_x; x++)
{
- uint16_t pix = (src[x] & 0xff);
- uint16_t real = clut[pix];
+ uint16_t const pix = (src[x] & 0xff);
+ uint16_t const real = clut[pix];
if (!(real & 0x40))
dest[x] = src[x];