diff options
Diffstat (limited to 'src/mame/drivers/starshp1.cpp')
-rw-r--r-- | src/mame/drivers/starshp1.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/drivers/starshp1.cpp b/src/mame/drivers/starshp1.cpp index cf2521bcf32..8bb81955048 100644 --- a/src/mame/drivers/starshp1.cpp +++ b/src/mame/drivers/starshp1.cpp @@ -151,7 +151,7 @@ WRITE_LINE_MEMBER(starshp1_state::mux_w) WRITE_LINE_MEMBER(starshp1_state::led_w) { - output().set_led_value(0, !state); + m_led = state ? 0 : 1; } @@ -178,6 +178,12 @@ void starshp1_state::starshp1_map(address_map &map) } +void starshp1_state::machine_start() +{ + m_led.resolve(); +} + + static INPUT_PORTS_START( starshp1 ) PORT_START("SYSTEM") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) |