summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/jchan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/jchan.cpp')
-rw-r--r--src/mame/drivers/jchan.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/jchan.cpp b/src/mame/drivers/jchan.cpp
index fe5d985740d..22010964b2c 100644
--- a/src/mame/drivers/jchan.cpp
+++ b/src/mame/drivers/jchan.cpp
@@ -602,12 +602,12 @@ INPUT_PORTS_END
MACHINE_CONFIG_START(jchan_state::jchan)
- MCFG_CPU_ADD("maincpu", M68000, 16000000)
- MCFG_CPU_PROGRAM_MAP(jchan_main)
+ MCFG_DEVICE_ADD("maincpu", M68000, 16000000)
+ MCFG_DEVICE_PROGRAM_MAP(jchan_main)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", jchan_state, vblank, "screen", 0, 1)
- MCFG_CPU_ADD("sub", M68000, 16000000)
- MCFG_CPU_PROGRAM_MAP(jchan_sub)
+ MCFG_DEVICE_ADD("sub", M68000, 16000000)
+ MCFG_DEVICE_PROGRAM_MAP(jchan_sub)
MCFG_WATCHDOG_ADD("watchdog")
@@ -639,7 +639,7 @@ MACHINE_CONFIG_START(jchan_state::jchan)
/* sound hardware */
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MCFG_SOUND_ADD("ymz", YMZ280B, 16000000)
+ MCFG_DEVICE_ADD("ymz", YMZ280B, 16000000)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MACHINE_CONFIG_END