summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/welltris.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/welltris.cpp')
-rw-r--r--src/mame/drivers/welltris.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/welltris.cpp b/src/mame/drivers/welltris.cpp
index ecbfcb2b690..67a4793bcb4 100644
--- a/src/mame/drivers/welltris.cpp
+++ b/src/mame/drivers/welltris.cpp
@@ -673,13 +673,13 @@ void welltris_state::machine_start()
MACHINE_CONFIG_START(welltris_state::welltris)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", M68000,20000000/2) /* 10 MHz */
- MCFG_CPU_PROGRAM_MAP(main_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", welltris_state, irq1_line_hold)
+ MCFG_DEVICE_ADD("maincpu", M68000,20000000/2) /* 10 MHz */
+ MCFG_DEVICE_PROGRAM_MAP(main_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", welltris_state, irq1_line_hold)
- MCFG_CPU_ADD("audiocpu", Z80,8000000/2) /* 4 MHz ??? */
- MCFG_CPU_PROGRAM_MAP(sound_map)
- MCFG_CPU_IO_MAP(sound_port_map) /* IRQs are triggered by the YM2610 */
+ MCFG_DEVICE_ADD("audiocpu", Z80,8000000/2) /* 4 MHz ??? */
+ MCFG_DEVICE_PROGRAM_MAP(sound_map)
+ MCFG_DEVICE_IO_MAP(sound_port_map) /* IRQs are triggered by the YM2610 */
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -708,7 +708,7 @@ MACHINE_CONFIG_START(welltris_state::welltris)
MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", INPUT_LINE_NMI))
MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(true)
- MCFG_SOUND_ADD("ymsnd", YM2610, 8000000)
+ MCFG_DEVICE_ADD("ymsnd", YM2610, 8000000)
MCFG_YM2610_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
MCFG_SOUND_ROUTE(0, "mono", 0.25)
MCFG_SOUND_ROUTE(1, "mono", 0.75)