summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/goindol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/goindol.cpp')
-rw-r--r--src/mame/drivers/goindol.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/goindol.cpp b/src/mame/drivers/goindol.cpp
index 719ccf462e5..3c253234978 100644
--- a/src/mame/drivers/goindol.cpp
+++ b/src/mame/drivers/goindol.cpp
@@ -238,13 +238,13 @@ void goindol_state::machine_reset()
MACHINE_CONFIG_START(goindol_state::goindol)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80, XTAL(12'000'000)/2) /* XTAL confirmed, divisor is not */
- MCFG_CPU_PROGRAM_MAP(goindol_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", goindol_state, irq0_line_hold)
+ MCFG_DEVICE_ADD("maincpu", Z80, XTAL(12'000'000)/2) /* XTAL confirmed, divisor is not */
+ MCFG_DEVICE_PROGRAM_MAP(goindol_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", goindol_state, irq0_line_hold)
- MCFG_CPU_ADD("audiocpu", Z80, XTAL(12'000'000)/2) /* XTAL confirmed, divisor is not */
- MCFG_CPU_PROGRAM_MAP(sound_map)
- MCFG_CPU_PERIODIC_INT_DRIVER(goindol_state, irq0_line_hold, 4*60)
+ MCFG_DEVICE_ADD("audiocpu", Z80, XTAL(12'000'000)/2) /* XTAL confirmed, divisor is not */
+ MCFG_DEVICE_PROGRAM_MAP(sound_map)
+ MCFG_DEVICE_PERIODIC_INT_DRIVER(goindol_state, irq0_line_hold, 4*60)
/* video hardware */
@@ -264,7 +264,7 @@ MACHINE_CONFIG_START(goindol_state::goindol)
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_SOUND_ADD("ymsnd", YM2203, XTAL(12'000'000)/8) /* Confirmed pitch from recording */
+ MCFG_DEVICE_ADD("ymsnd", YM2203, XTAL(12'000'000)/8) /* Confirmed pitch from recording */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END