summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/triplhnt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/triplhnt.cpp')
-rw-r--r--src/mame/drivers/triplhnt.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/drivers/triplhnt.cpp b/src/mame/drivers/triplhnt.cpp
index 77e69d755ed..8ef6c856027 100644
--- a/src/mame/drivers/triplhnt.cpp
+++ b/src/mame/drivers/triplhnt.cpp
@@ -51,7 +51,7 @@ WRITE_LINE_MEMBER(triplhnt_state::sprite_bank_w)
WRITE_LINE_MEMBER(triplhnt_state::lamp1_w)
{
- output().set_led_value(0, state);
+ m_lamp = state ? 1 : 0;
}
@@ -114,6 +114,12 @@ READ8_MEMBER(triplhnt_state::da_latch_r)
}
+void triplhnt_state::machine_start()
+{
+ m_lamp.resolve();
+}
+
+
void triplhnt_state::triplhnt_map(address_map &map)
{
map.global_mask(0x7fff);