summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/klax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/klax.cpp')
-rw-r--r--src/mame/video/klax.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/klax.cpp b/src/mame/video/klax.cpp
index a99221d701c..4ec30e3ae40 100644
--- a/src/mame/video/klax.cpp
+++ b/src/mame/video/klax.cpp
@@ -98,8 +98,8 @@ u32 klax_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const
for (const sparse_dirty_rect *rect = m_mob->first_dirty_rect(cliprect); rect != nullptr; rect = rect->next())
for (int y = rect->top(); y <= rect->bottom(); y++)
{
- const u16 *mo = &mobitmap.pix16(y);
- u16 *pf = &bitmap.pix16(y);
+ u16 const *const mo = &mobitmap.pix(y);
+ u16 *const pf = &bitmap.pix(y);
for (int x = rect->left(); x <= rect->right(); x++)
if (mo[x] != 0xffff)
{