summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/midtunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/midtunit.cpp')
-rw-r--r--src/mame/drivers/midtunit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/midtunit.cpp b/src/mame/drivers/midtunit.cpp
index 349a6d7859c..67a51269282 100644
--- a/src/mame/drivers/midtunit.cpp
+++ b/src/mame/drivers/midtunit.cpp
@@ -594,8 +594,8 @@ INPUT_PORTS_END
MACHINE_CONFIG_START(midtunit_state::tunit_core)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", TMS34010, CPU_CLOCK)
- MCFG_CPU_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_ADD("maincpu", TMS34010, CPU_CLOCK)
+ 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(2) /* pixels per clock */
@@ -627,7 +627,7 @@ MACHINE_CONFIG_START(midtunit_state::tunit_adpcm)
/* basic machine hardware */
MCFG_SPEAKER_STANDARD_MONO("speaker")
- MCFG_SOUND_ADD("adpcm", WILLIAMS_ADPCM_SOUND, 0)
+ MCFG_DEVICE_ADD("adpcm", WILLIAMS_ADPCM_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
MACHINE_CONFIG_END