summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/starcrus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/starcrus.cpp')
-rw-r--r--src/mame/drivers/starcrus.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/starcrus.cpp b/src/mame/drivers/starcrus.cpp
index 57250aecef0..91185adb531 100644
--- a/src/mame/drivers/starcrus.cpp
+++ b/src/mame/drivers/starcrus.cpp
@@ -143,10 +143,10 @@ static const char *const starcrus_sample_names[] =
MACHINE_CONFIG_START(starcrus_state::starcrus)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu", I8080,9750000/9) /* 8224 chip is a divide by 9 */
- MCFG_CPU_PROGRAM_MAP(starcrus_map)
- MCFG_CPU_IO_MAP(starcrus_io_map)
- MCFG_CPU_VBLANK_INT_DRIVER("screen", starcrus_state, irq0_line_hold)
+ MCFG_DEVICE_ADD("maincpu", I8080,9750000/9) /* 8224 chip is a divide by 9 */
+ MCFG_DEVICE_PROGRAM_MAP(starcrus_map)
+ MCFG_DEVICE_IO_MAP(starcrus_io_map)
+ MCFG_DEVICE_VBLANK_INT_DRIVER("screen", starcrus_state, irq0_line_hold)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -164,7 +164,7 @@ MACHINE_CONFIG_START(starcrus_state::starcrus)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
- MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(4)
MCFG_SAMPLES_NAMES(starcrus_sample_names)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)