summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/mario.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-05-22 14:31:40 +1000
committer Vas Crabb <vas@vastheman.com>2017-05-22 14:31:40 +1000
commita6ee791664e78112cd59fddd23252c4077c5271e (patch)
treef5c3ac81e60b735a721da21085fff7e0df7c58c8 /src/mame/audio/mario.cpp
parente63871ed51214148c8e3b103d594f2b33e0ea197 (diff)
Goodbye MACHINE_CONFIG_FRAGMENT, it was nice knowing you.
(nw) This is a pretty minimal change. The point where the root device is added has been moved from the MACHINE_CONFIG_START macro to the constructor of the machine configuration class (made possible by giving drivers their own device types). This isn't the final change in this area. The root device is still being handled specially in that its configuration comes from the game driver structure. This needs to be harmonised with regular devices. But that's a job for another day.
Diffstat (limited to 'src/mame/audio/mario.cpp')
-rw-r--r--src/mame/audio/mario.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/audio/mario.cpp b/src/mame/audio/mario.cpp
index 30616e8eebb..d309c8f7402 100644
--- a/src/mame/audio/mario.cpp
+++ b/src/mame/audio/mario.cpp
@@ -628,7 +628,7 @@ ADDRESS_MAP_END
*
*************************************/
-MACHINE_CONFIG_FRAGMENT( mario_audio )
+MACHINE_CONFIG_START( mario_audio )
#if USE_8039
MCFG_CPU_ADD("audiocpu", I8039, I8035_CLOCK) /* 730 kHz */
@@ -671,7 +671,7 @@ MACHINE_CONFIG_FRAGMENT( mario_audio )
MACHINE_CONFIG_END
-MACHINE_CONFIG_FRAGMENT( masao_audio )
+MACHINE_CONFIG_START( masao_audio )
MCFG_CPU_ADD("audiocpu", Z80, 24576000/16) /* ???? */
MCFG_CPU_PROGRAM_MAP(masao_sound_map)