summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-08-01 00:42:55 +0200
committer hap <happppp@users.noreply.github.com>2015-08-01 00:42:55 +0200
commit78bb03fa0dcaf73029f287ae76f5978332b5d879 (patch)
tree8cfef7fbaabb4a34226c3a6ca8237fab6a15597e
parentd51aed9333c6ed14f0399f09d6048b78ba72fefb (diff)
fix lilprof78 equals sign
-rw-r--r--src/mess/drivers/ticalc1x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mess/drivers/ticalc1x.c b/src/mess/drivers/ticalc1x.c
index e72f822ecdb..4ba2dce09a1 100644
--- a/src/mess/drivers/ticalc1x.c
+++ b/src/mess/drivers/ticalc1x.c
@@ -11,7 +11,6 @@
TODO:
- MCU clocks are unknown where noted
- - lilprof78 equals-sign is always on
***************************************************************************/
@@ -686,7 +685,7 @@ WRITE16_MEMBER(lilprof78_state::write_r)
m_display_state[y] = (r >> y & 1) ? o : 0;
// 3rd digit A/G(equals sign) is from O7
- m_display_state[3] = (m_o & 0x80) ? 0x41 : 0;
+ m_display_state[3] = (r && m_o & 0x80) ? 0x41 : 0;
// 6th digit is a custom 7seg for math symbols (see wizatron_state write_r)
m_display_state[6] = BITSWAP8(m_display_state[6],7,6,1,4,2,3,5,0);