summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/system16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/system16.cpp')
-rw-r--r--src/mame/drivers/system16.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp
index 34f94c8d96c..90d4e055e7f 100644
--- a/src/mame/drivers/system16.cpp
+++ b/src/mame/drivers/system16.cpp
@@ -174,8 +174,8 @@ WRITE16_MEMBER(segas1x_bootleg_state::sys16_coinctrl_w)
{
m_coinctrl = data & 0xff;
m_refreshenable = m_coinctrl & 0x20;
- output().set_led_value(1, m_coinctrl & 0x08);
- output().set_led_value(0, m_coinctrl & 0x04);
+ m_led[1] = BIT(m_coinctrl, 3);
+ m_led[0] = BIT(m_coinctrl, 2);
machine().bookkeeping().coin_counter_w(1, m_coinctrl & 0x02);
machine().bookkeeping().coin_counter_w(0, m_coinctrl & 0x01);
/* bit 6 is also used (1 most of the time; 0 in dduxbl, sdi, wb3;