summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/undrfire.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/undrfire.cpp')
-rw-r--r--src/mame/drivers/undrfire.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/undrfire.cpp b/src/mame/drivers/undrfire.cpp
index 7003fbaf22f..b3694ee459f 100644
--- a/src/mame/drivers/undrfire.cpp
+++ b/src/mame/drivers/undrfire.cpp
@@ -632,9 +632,9 @@ MACHINE_CONFIG_START(undrfire_state::cbombers)
MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT)
- MCFG_DEVICE_ADD("adc", ADC0809, 500000) // unknown clock
- MCFG_ADC0808_EOC_FF_CB(INPUTLINE("maincpu", 5))
- MCFG_ADC0808_IN0_CB(IOPORT("STEER"))
+ adc0809_device &adc(ADC0809(config, "adc", 500000)); // unknown clock
+ adc.eoc_ff_callback().set_inputline("maincpu", 5);
+ adc.in_callback<0>().set_ioport("STEER");
tc0510nio_device &tc0510nio(TC0510NIO(config, "tc0510nio", 0));
tc0510nio.read_0_callback().set_ioport("INPUTS0");