summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/snes_ctrl/multitap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/snes_ctrl/multitap.cpp')
-rw-r--r--src/devices/bus/snes_ctrl/multitap.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/devices/bus/snes_ctrl/multitap.cpp b/src/devices/bus/snes_ctrl/multitap.cpp
index e79f73280fb..9b41e4d6d48 100644
--- a/src/devices/bus/snes_ctrl/multitap.cpp
+++ b/src/devices/bus/snes_ctrl/multitap.cpp
@@ -41,7 +41,12 @@ static SLOT_INTERFACE_START( snes_multitap )
SLOT_INTERFACE("twintap", SNES_TWINTAP)
SLOT_INTERFACE_END
-static MACHINE_CONFIG_START( multi5p )
+
+//-------------------------------------------------
+// device_add_mconfig - add device configuration
+//-------------------------------------------------
+
+MACHINE_CONFIG_MEMBER( snes_multitap_device::device_add_mconfig )
MCFG_SNES_CONTROL_PORT_ADD("port1", snes_multitap, "joypad")
MCFG_SNES_CONTROL_PORT_ADD("port2", snes_multitap, "joypad")
MCFG_SNES_CONTROL_PORT_ADD("port3", snes_multitap, "joypad")
@@ -49,17 +54,6 @@ static MACHINE_CONFIG_START( multi5p )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor snes_multitap_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( multi5p );
-}
-
-
//**************************************************************************
// LIVE DEVICE
//**************************************************************************