summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/jantotsu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/jantotsu.cpp')
-rw-r--r--src/mame/drivers/jantotsu.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/jantotsu.cpp b/src/mame/drivers/jantotsu.cpp
index 5295ffe35d7..dd9bbd5fbd7 100644
--- a/src/mame/drivers/jantotsu.cpp
+++ b/src/mame/drivers/jantotsu.cpp
@@ -502,9 +502,9 @@ void jantotsu_state::machine_reset()
MACHINE_CONFIG_START(jantotsu_state::jantotsu)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", Z80,MAIN_CLOCK/4)
- MCFG_CPU_PROGRAM_MAP(jantotsu_map)
- MCFG_CPU_IO_MAP(jantotsu_io)
+ MCFG_DEVICE_ADD("maincpu", Z80,MAIN_CLOCK/4)
+ MCFG_DEVICE_PROGRAM_MAP(jantotsu_map)
+ MCFG_DEVICE_IO_MAP(jantotsu_io)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -521,14 +521,14 @@ MACHINE_CONFIG_START(jantotsu_state::jantotsu)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("sn1", SN76489A, MAIN_CLOCK/4)
+ MCFG_DEVICE_ADD("sn1", SN76489A, MAIN_CLOCK/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MCFG_SOUND_ADD("sn2", SN76489A, MAIN_CLOCK/4)
+ MCFG_DEVICE_ADD("sn2", SN76489A, MAIN_CLOCK/4)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
- MCFG_SOUND_ADD("adpcm", MSM5205, XTAL(384'000))
- MCFG_MSM5205_VCLK_CB(WRITELINE(jantotsu_state, jan_adpcm_int)) /* interrupt function */
+ MCFG_DEVICE_ADD("adpcm", MSM5205, XTAL(384'000))
+ MCFG_MSM5205_VCLK_CB(WRITELINE(*this, jantotsu_state, jan_adpcm_int)) /* interrupt function */
MCFG_MSM5205_PRESCALER_SELECTOR(S64_4B) /* 6 KHz */
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
MACHINE_CONFIG_END