summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/rmhaihai.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rmhaihai.cpp')
-rw-r--r--src/mame/drivers/rmhaihai.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/rmhaihai.cpp b/src/mame/drivers/rmhaihai.cpp
index 0ad7b06d25d..ca4052f40a2 100644
--- a/src/mame/drivers/rmhaihai.cpp
+++ b/src/mame/drivers/rmhaihai.cpp
@@ -505,10 +505,10 @@ GFXDECODE_END
MACHINE_CONFIG_START(rmhaihai_state::rmhaihai)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu",Z80,20000000/4) /* 5 MHz ??? */
- MCFG_CPU_PROGRAM_MAP(rmhaihai_map)
- MCFG_CPU_IO_MAP(rmhaihai_io_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", rmhaihai_state, irq0_line_hold)
+ MCFG_DEVICE_ADD("maincpu",Z80,20000000/4) /* 5 MHz ??? */
+ MCFG_DEVICE_PROGRAM_MAP(rmhaihai_map)
+ MCFG_DEVICE_IO_MAP(rmhaihai_io_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", rmhaihai_state, irq0_line_hold)
MCFG_NVRAM_ADD_0FILL("nvram")
@@ -528,12 +528,12 @@ MACHINE_CONFIG_START(rmhaihai_state::rmhaihai)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("aysnd", AY8910, 20000000/16)
+ MCFG_DEVICE_ADD("aysnd", AY8910, 20000000/16)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW2"))
MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW1"))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
- MCFG_SOUND_ADD("msm", MSM5205, 500000)
+ MCFG_DEVICE_ADD("msm", MSM5205, 500000)
MCFG_MSM5205_PRESCALER_SELECTOR(SEX_4B)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
@@ -554,9 +554,9 @@ MACHINE_CONFIG_START(themj_state::themj)
/* basic machine hardware */
- MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_PROGRAM_MAP(themj_map)
- MCFG_CPU_IO_MAP(themj_io_map)
+ MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_PROGRAM_MAP(themj_map)
+ MCFG_DEVICE_IO_MAP(themj_io_map)
MCFG_DEVICE_REMOVE("nvram")