summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/tispeak.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/tispeak.c')
-rw-r--r--src/mess/drivers/tispeak.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mess/drivers/tispeak.c b/src/mess/drivers/tispeak.c
index cf42755f006..0481f230c0d 100644
--- a/src/mess/drivers/tispeak.c
+++ b/src/mess/drivers/tispeak.c
@@ -138,8 +138,7 @@ void tispeak_state::leds_update()
for (int i = 0; i < 0x10; i++)
{
// update current state
- if (m_r >> i & 1)
- m_leds_state[i] = m_o;
+ m_leds_state[i] = (m_r >> i & 1) ? m_o : 0;
active_state[i] = 0;