summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes_ctrl/joypad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes_ctrl/joypad.cpp')
-rw-r--r--src/devices/bus/nes_ctrl/joypad.cpp17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/devices/bus/nes_ctrl/joypad.cpp b/src/devices/bus/nes_ctrl/joypad.cpp
index d69aa600b66..33743f41936 100644
--- a/src/devices/bus/nes_ctrl/joypad.cpp
+++ b/src/devices/bus/nes_ctrl/joypad.cpp
@@ -148,22 +148,15 @@ static SLOT_INTERFACE_START( arcstick_daisy )
SLOT_INTERFACE("arcstick", NES_ARCSTICK)
SLOT_INTERFACE_END
-static MACHINE_CONFIG_START( arcstick )
- // expansion port to allow daisy chaining
- MCFG_FC_EXPANSION_PORT_ADD("subexp", arcstick_daisy, nullptr)
-MACHINE_CONFIG_END
-
//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-machine_config_constructor nes_arcstick_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( arcstick );
-}
-
+MACHINE_CONFIG_MEMBER( nes_arcstick_device::device_add_mconfig )
+ // expansion port to allow daisy chaining
+ MCFG_FC_EXPANSION_PORT_ADD("subexp", arcstick_daisy, nullptr)
+MACHINE_CONFIG_END
//**************************************************************************