summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-01-05 15:33:38 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-01-05 15:33:38 -0500
commit2c5fac5b8548d46f0ed00d5c56f312f04d8c6ae2 (patch)
treeedb96c5fe3d17377db6c13471bd63f5938352add
parentab893535b721d50f77a800b2c5bfb4c7b8f248f7 (diff)
adm12: Highlight status line (nw)
-rw-r--r--src/mame/drivers/adm11.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mame/drivers/adm11.cpp b/src/mame/drivers/adm11.cpp
index 0bf73135f95..98b87d21fd4 100644
--- a/src/mame/drivers/adm11.cpp
+++ b/src/mame/drivers/adm11.cpp
@@ -88,6 +88,9 @@ SCN2674_DRAW_CHARACTER_MEMBER(adm11_state::draw_character)
u16 dots = m_chargen[charcode << 4 | linecount];
dots |= (dots & 0x80) << 1;
+ if (BIT(attrcode, 2))
+ dots ^= 0x1ff;
+
for (int i = 0; i < 9; i++)
{
bitmap.pix32(y, x++) = BIT(dots, 8) ? rgb_t::white() : rgb_t::black();