summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/trs80dt1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/trs80dt1.cpp')
-rw-r--r--src/mame/drivers/trs80dt1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/trs80dt1.cpp b/src/mame/drivers/trs80dt1.cpp
index 0aa9fc23e79..c4446f0048e 100644
--- a/src/mame/drivers/trs80dt1.cpp
+++ b/src/mame/drivers/trs80dt1.cpp
@@ -310,7 +310,7 @@ I8275_DRAW_CHARACTER_MEMBER( trs80dt1_state::crtc_update_row )
charcode &= 0x7f;
linecount &= 15;
- const rgb_t *palette = m_palette->palette()->entry_list_raw();
+ rgb_t const *const palette = m_palette->palette()->entry_list_raw();
u8 gfx = 0;
if (lten) // underline attr
@@ -326,7 +326,7 @@ I8275_DRAW_CHARACTER_MEMBER( trs80dt1_state::crtc_update_row )
gfx ^= 0xff;
for(u8 i=0; i<8; i++)
- bitmap.pix32(y, x + i) = palette[BIT(gfx, 7-i) ? (hlgt ? 2 : 1) : 0];
+ bitmap.pix(y, x + i) = palette[BIT(gfx, 7-i) ? (hlgt ? 2 : 1) : 0];
}