summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/bwidow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bwidow.cpp')
-rw-r--r--src/mame/drivers/bwidow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/bwidow.cpp b/src/mame/drivers/bwidow.cpp
index 79233cb4191..2208f84228f 100644
--- a/src/mame/drivers/bwidow.cpp
+++ b/src/mame/drivers/bwidow.cpp
@@ -336,8 +336,8 @@ WRITE8_MEMBER(bwidow_state::bwidow_misc_w)
*/
if (data == m_lastdata) return;
- m_led[0] = BIT(~data, 4);
- m_led[1] = BIT(~data, 5);
+ m_leds[0] = BIT(~data, 4);
+ m_leds[1] = BIT(~data, 5);
machine().bookkeeping().coin_counter_w(0, data & 0x01);
machine().bookkeeping().coin_counter_w(1, data & 0x02);
m_lastdata = data;
@@ -346,8 +346,8 @@ WRITE8_MEMBER(bwidow_state::bwidow_misc_w)
WRITE8_MEMBER(bwidow_state::spacduel_coin_counter_w)
{
if (data == m_lastdata) return;
- m_led[0] = BIT(~data, 5); // start lamp
- m_led[1] = BIT(~data, 4); // select lamp
+ m_leds[0] = BIT(~data, 5); // start lamp
+ m_leds[1] = BIT(~data, 4); // select lamp
machine().bookkeeping().coin_lockout_w(0, !BIT(data,3));
machine().bookkeeping().coin_lockout_w(1, !BIT(data,3));
machine().bookkeeping().coin_lockout_w(2, !BIT(data,3));