summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gamecube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gamecube.cpp')
-rw-r--r--src/mame/drivers/gamecube.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/drivers/gamecube.cpp b/src/mame/drivers/gamecube.cpp
index 3917e09d375..cf6884285c9 100644
--- a/src/mame/drivers/gamecube.cpp
+++ b/src/mame/drivers/gamecube.cpp
@@ -142,11 +142,10 @@ void gamecube_state::machine_reset()
// MACHINE DEFINITIONS
//**************************************************************************
-void gamecube_state::gc(machine_config &config)
-{
- PPC603(config, m_cpu, 485000000 / 100); // 485 MHz IBM "Gekko" (750CXe/750FX based)
- m_cpu->set_addrmap(AS_PROGRAM, &gamecube_state::ppc_mem);
-}
+MACHINE_CONFIG_START(gamecube_state::gc)
+ MCFG_DEVICE_ADD("maincpu", PPC603, 485000000 / 100) // 485 MHz IBM "Gekko" (750CXe/750FX based)
+ MCFG_DEVICE_PROGRAM_MAP(ppc_mem)
+MACHINE_CONFIG_END
//**************************************************************************