diff options
Diffstat (limited to 'src/devices/bus/psx/ctlrport.cpp')
-rw-r--r-- | src/devices/bus/psx/ctlrport.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/devices/bus/psx/ctlrport.cpp b/src/devices/bus/psx/ctlrport.cpp index 05aae5c5b72..b3c34f8b2b5 100644 --- a/src/devices/bus/psx/ctlrport.cpp +++ b/src/devices/bus/psx/ctlrport.cpp @@ -25,10 +25,9 @@ void psx_controller_port_device::device_config_complete() m_dev = dynamic_cast<device_psx_controller_interface *>(get_card_device()); } -void psx_controller_port_device::device_add_mconfig(machine_config &config) -{ - PSXCARD(config, m_card, 0); -} +MACHINE_CONFIG_START(psx_controller_port_device::device_add_mconfig) + MCFG_PSXCARD_ADD("card") +MACHINE_CONFIG_END void psx_controller_port_device::disable_card(bool state) { |