summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wpc_an.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wpc_an.cpp')
-rw-r--r--src/mame/drivers/wpc_an.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/drivers/wpc_an.cpp b/src/mame/drivers/wpc_an.cpp
index 3d2475be108..cbdc91b9795 100644
--- a/src/mame/drivers/wpc_an.cpp
+++ b/src/mame/drivers/wpc_an.cpp
@@ -30,6 +30,9 @@ public:
m_wpc(*this,"wpc")
{ }
+ void wpc_an_dd(machine_config &config);
+ void wpc_an(machine_config &config);
+ void wpc_an_base(machine_config &config);
protected:
// devices
@@ -315,7 +318,7 @@ DRIVER_INIT_MEMBER(wpc_an_state,wpc_an)
memcpy(fixed,&ROM[codeoff],0x8000); // copy static code from end of U6 ROM.
}
-static MACHINE_CONFIG_START( wpc_an_base )
+MACHINE_CONFIG_START(wpc_an_state::wpc_an_base)
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", MC6809E, XTAL_8MHz / 4) // 68B09E
MCFG_CPU_PROGRAM_MAP(wpc_an_map)
@@ -331,7 +334,7 @@ static MACHINE_CONFIG_START( wpc_an_base )
MCFG_DEFAULT_LAYOUT(layout_wpc_an)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( wpc_an )
+MACHINE_CONFIG_START(wpc_an_state::wpc_an)
MCFG_FRAGMENT_ADD(wpc_an_base)
MCFG_SPEAKER_STANDARD_MONO("speaker")
@@ -341,7 +344,7 @@ static MACHINE_CONFIG_START( wpc_an )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)
MACHINE_CONFIG_END
-static MACHINE_CONFIG_START( wpc_an_dd )
+MACHINE_CONFIG_START(wpc_an_state::wpc_an_dd)
MCFG_FRAGMENT_ADD(wpc_an_base)
MCFG_SPEAKER_STANDARD_MONO("speaker")