summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/asteroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/asteroid.cpp')
-rw-r--r--src/mame/machine/asteroid.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mame/machine/asteroid.cpp b/src/mame/machine/asteroid.cpp
index eb236c12fd1..593af819b68 100644
--- a/src/mame/machine/asteroid.cpp
+++ b/src/mame/machine/asteroid.cpp
@@ -105,16 +105,14 @@ WRITE8_MEMBER(asteroid_state::asteroid_bank_switch_w)
}
-WRITE8_MEMBER(asteroid_state::astdelux_bank_switch_w)
+WRITE_LINE_MEMBER(asteroid_state::start1_led_w)
{
- int bank = BIT(data, 7);
- m_ram1->set_entry(bank);
- m_ram2->set_entry(bank);
+ output().set_led_value(0, state ? 0 : 1);
}
-WRITE8_MEMBER(asteroid_state::astdelux_led_w)
+WRITE_LINE_MEMBER(asteroid_state::start2_led_w)
{
- output().set_led_value(offset, (data & 0x80) ? 0 : 1);
+ output().set_led_value(1, state ? 0 : 1);
}
void asteroid_state::machine_start()