summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/midxunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/midxunit.cpp')
-rw-r--r--src/mame/drivers/midxunit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/midxunit.cpp b/src/mame/drivers/midxunit.cpp
index 8ee4e04846c..942ff9ead1a 100644
--- a/src/mame/drivers/midxunit.cpp
+++ b/src/mame/drivers/midxunit.cpp
@@ -244,8 +244,8 @@ INPUT_PORTS_END
MACHINE_CONFIG_START(midxunit_state::midxunit)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", TMS34020, 40000000)
- MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_ADD("maincpu", TMS34020, 40000000)
+ MCFG_DEVICE_PROGRAM_MAP(main_map)
MCFG_TMS340X0_HALT_ON_RESET(false) /* halt on reset */
MCFG_TMS340X0_PIXEL_CLOCK(PIXEL_CLOCK) /* pixel clock */
MCFG_TMS340X0_PIXELS_PER_CLOCK(1) /* pixels per clock */
@@ -271,7 +271,7 @@ MACHINE_CONFIG_START(midxunit_state::midxunit)
MCFG_MIDWAY_SERIAL_PIC_UPPER(419);
MCFG_ADC0848_ADD("adc")
- MCFG_ADC0848_INTR_CB(WRITELINE(midxunit_state, adc_int_w)) // ADC INT passed through PLSI1032
+ MCFG_ADC0848_INTR_CB(WRITELINE(*this, midxunit_state, adc_int_w)) // ADC INT passed through PLSI1032
MCFG_ADC0848_CH1_CB(IOPORT("AN0"))
MCFG_ADC0848_CH2_CB(IOPORT("AN1"))
MCFG_ADC0848_CH3_CB(IOPORT("AN2"))