diff options
Diffstat (limited to 'src/mame/drivers/duet16.cpp')
-rw-r--r-- | src/mame/drivers/duet16.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/duet16.cpp b/src/mame/drivers/duet16.cpp index e2c0f49c303..54d3e4b246e 100644 --- a/src/mame/drivers/duet16.cpp +++ b/src/mame/drivers/duet16.cpp @@ -194,7 +194,7 @@ MC6845_UPDATE_ROW(duet16_state::crtc_update_row) { if(!de) return; - u8 *gvram = (u8 *)&m_gvram[0]; + u8 const *const gvram = (u8 *)&m_gvram[0]; for(int i = 0; i < x_count; i++) { u16 coffset = (ma + i) & 0x07ff; @@ -235,7 +235,7 @@ MC6845_UPDATE_ROW(duet16_state::crtc_update_row) color = m_pal->pen_color((BIT(g2, 7 - xi) << 2) | (BIT(g1, 7 - xi) << 1) | BIT(g0, 7 - xi)); else color = 0; - bitmap.pix32(y, (i * 8) + xi) = color; + bitmap.pix(y, (i * 8) + xi) = color; } } } |