summaryrefslogtreecommitdiffstats
path: root/src/mame/etc/template_driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/etc/template_driver.cpp')
-rw-r--r--src/mame/etc/template_driver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/etc/template_driver.cpp b/src/mame/etc/template_driver.cpp
index 067e2f4d1e9..68862fabaa7 100644
--- a/src/mame/etc/template_driver.cpp
+++ b/src/mame/etc/template_driver.cpp
@@ -150,9 +150,9 @@ PALETTE_INIT_MEMBER(xxx_state, xxx)
MACHINE_CONFIG_START(xxx_state::xxx)
/* basic machine hardware */
- MCFG_CPU_ADD("maincpu",Z80,MAIN_CLOCK/2)
- MCFG_CPU_PROGRAM_MAP(xxx_map)
- MCFG_CPU_IO_MAP(xxx_io)
+ MCFG_DEVICE_ADD("maincpu",Z80,MAIN_CLOCK/2)
+ MCFG_DEVICE_PROGRAM_MAP(xxx_map)
+ MCFG_DEVICE_IO_MAP(xxx_io)
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -172,7 +172,7 @@ MACHINE_CONFIG_START(xxx_state::xxx)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
-// MCFG_SOUND_ADD("aysnd", AY8910, MAIN_CLOCK/4)
+// MCFG_DEVICE_ADD("aysnd", AY8910, MAIN_CLOCK/4)
// MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)
MACHINE_CONFIG_END