summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wolfpack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wolfpack.cpp')
-rw-r--r--src/mame/drivers/wolfpack.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/wolfpack.cpp b/src/mame/drivers/wolfpack.cpp
index 37ad2034e7f..98ba5d0d435 100644
--- a/src/mame/drivers/wolfpack.cpp
+++ b/src/mame/drivers/wolfpack.cpp
@@ -43,6 +43,7 @@ TIMER_CALLBACK_MEMBER(wolfpack_state::periodic_callback)
void wolfpack_state::machine_start()
{
+ m_led.resolve();
m_periodic_timer = timer_alloc(TIMER_PERIODIC);
}
@@ -117,7 +118,7 @@ WRITE8_MEMBER(wolfpack_state::attract_w)
WRITE8_MEMBER(wolfpack_state::credit_w)
{
- output().set_led_value(0, !(data & 1));
+ m_led = BIT(~data, 0);
}