From 78bb03fa0dcaf73029f287ae76f5978332b5d879 Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 1 Aug 2015 00:42:55 +0200 Subject: [PATCH] fix lilprof78 equals sign --- src/mess/drivers/ticalc1x.c | 3 +-- 1 file changed, 1 insertion(+), 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);