summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ef9345.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/ef9345.cpp')
-rw-r--r--src/devices/video/ef9345.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/ef9345.cpp b/src/devices/video/ef9345.cpp
index af1603455b1..bde4a3d37b8 100644
--- a/src/devices/video/ef9345.cpp
+++ b/src/devices/video/ef9345.cpp
@@ -739,7 +739,7 @@ void ef9345_device::makechar_24x40(uint16_t x, uint16_t y)
const uint8_t f = BIT(a, 3); //flash
const uint8_t m = BIT(b, 2); //conceal
const uint8_t n = BIT(a, 7); //negative
- const uint8_t u = (((b & 0x60) == 0) || ((b & 0xc0) == 0x40)) ? BIT(b, 4) : 0; //underline
+ const uint8_t u = (((type & 0x6) == 0) || ((type & 0xc) == 0x4)) ? BIT(b, 4) : 0; //underline
bichrome40(type, address, dial, iblock, x, y, c0, c1, i, f, m, n, u);
}