summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trs80m2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trs80m2.cpp')
-rw-r--r--src/mame/drivers/trs80m2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/trs80m2.cpp b/src/mame/drivers/trs80m2.cpp
index 2a249824e59..6b971840d1f 100644
--- a/src/mame/drivers/trs80m2.cpp
+++ b/src/mame/drivers/trs80m2.cpp
@@ -391,7 +391,7 @@ INPUT_PORTS_END
MC6845_UPDATE_ROW( trs80m2_state::crtc_update_row )
{
- const pen_t *pen = m_palette->pens();
+ pen_t const *const pen = m_palette->pens();
int x = 0;
@@ -409,7 +409,7 @@ MC6845_UPDATE_ROW( trs80m2_state::crtc_update_row )
int dout = BIT(data, 7);
int color = (dcursor ^ drevid ^ dout) && de;
- bitmap.pix32(vbp + y, hbp + x++) = pen[color];
+ bitmap.pix(vbp + y, hbp + x++) = pen[color];
data <<= 1;
}