summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/dgpix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dgpix.cpp')
-rw-r--r--src/mame/drivers/dgpix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/dgpix.cpp b/src/mame/drivers/dgpix.cpp
index 29484abd2d0..e06bdcb99b2 100644
--- a/src/mame/drivers/dgpix.cpp
+++ b/src/mame/drivers/dgpix.cpp
@@ -419,8 +419,8 @@ u32 dgpix_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, cons
for (int y = cliprect.top(); y <= cliprect.bottom(); y++)
{
int x = cliprect.left();
- u16 *src = &m_vram[(m_vbuffer ? 0 : 0x20000) | (y << 9) | x];
- u16 *dest = &bitmap.pix16(y, x);
+ u16 const *src = &m_vram[(m_vbuffer ? 0 : 0x20000) | (y << 9) | x];
+ u16 *dest = &bitmap.pix(y, x);
for (; x <= cliprect.right(); x++)
{