summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sderby.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-01-07 22:20:14 +0100
committer Olivier Galibert <galibert@pobox.com>2018-01-17 16:11:18 +0100
commitd469cc04bcace0f601802301caeddc5b473b75f2 (patch)
treea9d71540c9c69cee5ab3a533476b81833fa02f5f /src/mame/drivers/sderby.cpp
parent9f383f76ce6f00cc3320e5ba53dc323781e0077b (diff)
API Change: Machine configs are now a method of the owner class, and the prototype is simplified [O. Galibert]
Beware, the device context does not follow in MCFG_FRAGMENT_ADD anymore due to the prototype change. So creating a device then configuring through a fragment doesn't work as-is. The simplest solution is just to add a MCFG_DEVICE_MODIFY at the start of the fragment with the correct tag.
Diffstat (limited to 'src/mame/drivers/sderby.cpp')
-rw-r--r--src/mame/drivers/sderby.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/sderby.cpp b/src/mame/drivers/sderby.cpp
index b888a6afc50..4430ee443d0 100644
--- a/src/mame/drivers/sderby.cpp
+++ b/src/mame/drivers/sderby.cpp
@@ -593,7 +593,7 @@ GFXDECODE_END
* Machine Drivers *
****************************/
-static MACHINE_CONFIG_START( sderby )
+MACHINE_CONFIG_START(sderby_state::sderby)
MCFG_CPU_ADD("maincpu", M68000, 12000000)
MCFG_CPU_PROGRAM_MAP(sderby_map)
@@ -618,7 +618,7 @@ static MACHINE_CONFIG_START( sderby )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( sderbya )
+MACHINE_CONFIG_START(sderby_state::sderbya)
MCFG_CPU_ADD("maincpu", M68000, 12000000)
MCFG_CPU_PROGRAM_MAP(sderbya_map)
@@ -643,7 +643,7 @@ static MACHINE_CONFIG_START( sderbya )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( luckboom )
+MACHINE_CONFIG_START(sderby_state::luckboom)
MCFG_CPU_ADD("maincpu", M68000, 12000000)
MCFG_CPU_PROGRAM_MAP(luckboom_map)
@@ -668,7 +668,7 @@ static MACHINE_CONFIG_START( luckboom )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( spacewin )
+MACHINE_CONFIG_START(sderby_state::spacewin)
MCFG_CPU_ADD("maincpu", M68000, 12000000)
MCFG_CPU_PROGRAM_MAP(spacewin_map)
@@ -693,7 +693,7 @@ static MACHINE_CONFIG_START( spacewin )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( shinygld)
+MACHINE_CONFIG_START(sderby_state::shinygld)
MCFG_CPU_ADD("maincpu", M68000, XTAL_24MHz / 2) // verified
MCFG_CPU_PROGRAM_MAP(shinygld_map)
@@ -718,7 +718,7 @@ static MACHINE_CONFIG_START( shinygld)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( pmroulet )
+MACHINE_CONFIG_START(sderby_state::pmroulet)
MCFG_CPU_ADD("maincpu", M68000, 12000000)
MCFG_CPU_PROGRAM_MAP(roulette_map)