summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/orbit.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-04-29 22:00:55 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-04-29 22:01:04 -0400
commit7a5c8d5b7084e321b3d40a367236ee8354f630ce (patch)
treeced01a0f12b7b491aa8d4f896b7e9991a1e4160e /src/mame/drivers/orbit.cpp
parent28af78c0007e2e26c5d83f1ebb7cf745faddca59 (diff)
Further use of DEVCB_OUTPUT in Atari drivers (nw)
Diffstat (limited to 'src/mame/drivers/orbit.cpp')
-rw-r--r--src/mame/drivers/orbit.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mame/drivers/orbit.cpp b/src/mame/drivers/orbit.cpp
index fde30c4eb16..de928acae4b 100644
--- a/src/mame/drivers/orbit.cpp
+++ b/src/mame/drivers/orbit.cpp
@@ -72,18 +72,6 @@ WRITE_LINE_MEMBER(orbit_state::coin_lockout_w)
}
-WRITE_LINE_MEMBER(orbit_state::heat_rst_led_w)
-{
- output().set_led_value(0, state);
-}
-
-
-WRITE_LINE_MEMBER(orbit_state::hyper_led_w)
-{
- output().set_led_value(1, state);
-}
-
-
/*************************************
*
@@ -295,8 +283,8 @@ MACHINE_CONFIG_START(orbit_state::orbit)
/* BIT6 => HYPER LED */
/* BIT7 => WARNING SND */
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(orbit_state, coin_lockout_w))
- MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(orbit_state, heat_rst_led_w))
- MCFG_ADDRESSABLE_LATCH_Q6_OUT_CB(WRITELINE(orbit_state, hyper_led_w))
+ MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(OUTPUT("led0"))
+ MCFG_ADDRESSABLE_LATCH_Q6_OUT_CB(OUTPUT("led1"))
MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(DEVWRITELINE("discrete", discrete_device, write_line<ORBIT_WARNING_EN>))
MCFG_WATCHDOG_ADD("watchdog")