summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2021-01-12 20:10:21 -0500
committer arbee <rb6502@users.noreply.github.com>2021-01-12 20:10:21 -0500
commite2083f9caabae09daa102f51ccc473a6e151b29b (patch)
treedd2c8faca1b7a6b790939f81ef167fbae8365e2d
parent9570e92ac8c787d5683c006a516d6f2ca1b9e4e2 (diff)
dim68k: fix text color back to white [R. Belmont]
-rw-r--r--src/mame/drivers/dim68k.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/dim68k.cpp b/src/mame/drivers/dim68k.cpp
index c86dcee10b0..d7f9ba6b2d0 100644
--- a/src/mame/drivers/dim68k.cpp
+++ b/src/mame/drivers/dim68k.cpp
@@ -286,14 +286,14 @@ MC6845_UPDATE_ROW( dim68k_state::crtc_update_row )
if (m_video_control & 0x80)
{
gfx = m_p_chargen[(chr<<4) | ra] ^ inv ^ ((chr & 0x80) ? 0xff : 0);
- *p++ = palette[BIT(gfx, 7)];
- *p++ = palette[BIT(gfx, 6)];
- *p++ = palette[BIT(gfx, 5)];
- *p++ = palette[BIT(gfx, 4)];
- *p++ = palette[BIT(gfx, 3)];
- *p++ = palette[BIT(gfx, 2)];
- *p++ = palette[BIT(gfx, 1)];
- if (dot8) *p++ = palette[BIT(gfx, 1)];
+ *p++ = palette[BIT(gfx, 7)*15];
+ *p++ = palette[BIT(gfx, 6)*15];
+ *p++ = palette[BIT(gfx, 5)*15];
+ *p++ = palette[BIT(gfx, 4)*15];
+ *p++ = palette[BIT(gfx, 3)*15];
+ *p++ = palette[BIT(gfx, 2)*15];
+ *p++ = palette[BIT(gfx, 1)*15];
+ if (dot8) *p++ = palette[BIT(gfx, 1)*15];
}
else
{
@@ -315,14 +315,14 @@ MC6845_UPDATE_ROW( dim68k_state::crtc_update_row )
if (m_video_control & 0x80)
{
gfx = m_p_chargen[(chr << 4) | ra] ^ inv ^ ((chr & 0x80) ? 0xff : 0);
- *p++ = palette[BIT(gfx, 7)];
- *p++ = palette[BIT(gfx, 6)];
- *p++ = palette[BIT(gfx, 5)];
- *p++ = palette[BIT(gfx, 4)];
- *p++ = palette[BIT(gfx, 3)];
- *p++ = palette[BIT(gfx, 2)];
- *p++ = palette[BIT(gfx, 1)];
- if (dot8) *p++ = palette[BIT(gfx, 1)];
+ *p++ = palette[BIT(gfx, 7)*15];
+ *p++ = palette[BIT(gfx, 6)*15];
+ *p++ = palette[BIT(gfx, 5)*15];
+ *p++ = palette[BIT(gfx, 4)*15];
+ *p++ = palette[BIT(gfx, 3)*15];
+ *p++ = palette[BIT(gfx, 2)*15];
+ *p++ = palette[BIT(gfx, 1)*15];
+ if (dot8) *p++ = palette[BIT(gfx, 1)*15];
}
else
{