summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-02-13 09:24:06 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-02-13 09:24:56 -0500
commitef5714d1829dc27bb116b3e72ed6767af25d6a67 (patch)
tree99959bccc111ec7ec367f0bb016d5b781f327300
parent3eac3a22eeb368085e600460d8bf1aca64decda6 (diff)
pcx: Fix jailbars appearing in white-on-black mode
-rw-r--r--src/mame/video/pcd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/pcd.cpp b/src/mame/video/pcd.cpp
index 722b60068a6..9d1e446c387 100644
--- a/src/mame/video/pcd.cpp
+++ b/src/mame/video/pcd.cpp
@@ -221,15 +221,15 @@ SCN2672_DRAW_CHARACTER_MEMBER(pcx_video_device::display_pixels)
uint16_t data = m_charrom[charcode * 16 + linecount + (attrcode & 0x20 ? 4096 : 0)];
if (cursor && blink)
- data = 0x3ff;
+ data = 0x7ff;
else
{
data <<= 1;
data |= data << 1;
}
- if (m_p1 & 0x20)
- data ^= 0x3ff;
+ if (BIT(m_p1, 5))
+ data ^= 0x7ff;
for (int i = 0; i < 12; i++)
{