summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/runaway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/runaway.cpp')
-rw-r--r--src/mame/drivers/runaway.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/runaway.cpp b/src/mame/drivers/runaway.cpp
index 09a2551944f..ee67e5847f7 100644
--- a/src/mame/drivers/runaway.cpp
+++ b/src/mame/drivers/runaway.cpp
@@ -38,6 +38,7 @@ TIMER_CALLBACK_MEMBER(runaway_state::interrupt_callback)
void runaway_state::machine_start()
{
+ m_led.resolve();
m_interrupt_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(runaway_state::interrupt_callback),this));
}
@@ -72,7 +73,7 @@ READ8_MEMBER(runaway_state::runaway_pot_r)
WRITE8_MEMBER(runaway_state::runaway_led_w)
{
- output().set_led_value(offset, ~data & 1);
+ m_led[offset] = BIT(~data, 0);
}