diff options
Diffstat (limited to 'src/mess/drivers/ticalc1x.c')
-rw-r--r-- | src/mess/drivers/ticalc1x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/ticalc1x.c b/src/mess/drivers/ticalc1x.c index 1cf30fccdc7..cf28dec38d1 100644 --- a/src/mess/drivers/ticalc1x.c +++ b/src/mess/drivers/ticalc1x.c @@ -95,11 +95,11 @@ void ticalc1x_state::leds_update() int di = j << 4 | i; // turn on powered leds - if (m_leds_state[i] >> j & 1) + if (m_power_on && m_leds_state[i] >> j & 1) m_leds_decay[di] = LEDS_DECAY_TIME; // determine active state - int ds = (m_power_on && m_leds_decay[di] != 0) ? 1 : 0; + int ds = (m_leds_decay[di] != 0) ? 1 : 0; active_state[i] |= (ds << j); } } |