summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vic20/vic1011.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vic20/vic1011.cpp')
-rw-r--r--src/devices/bus/vic20/vic1011.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/devices/bus/vic20/vic1011.cpp b/src/devices/bus/vic20/vic1011.cpp
index a75a268be70..056727c4b3a 100644
--- a/src/devices/bus/vic20/vic1011.cpp
+++ b/src/devices/bus/vic20/vic1011.cpp
@@ -27,10 +27,10 @@ DEFINE_DEVICE_TYPE(VIC1011, vic1011_device, "vic1011", "VIC-1011 RS-232C")
//-------------------------------------------------
-// MACHINE_DRIVER( vic1011 )
+// device_add_mconfig - add device configuration
//-------------------------------------------------
-static MACHINE_CONFIG_START( vic1011 )
+MACHINE_CONFIG_MEMBER( vic1011_device::device_add_mconfig )
MCFG_RS232_PORT_ADD(RS232_TAG, default_rs232_devices, nullptr)
MCFG_RS232_RXD_HANDLER(DEVWRITELINE(DEVICE_SELF, vic1011_device, output_rxd))
MCFG_RS232_DCD_HANDLER(DEVWRITELINE(DEVICE_SELF, vic1011_device, output_h)) MCFG_DEVCB_XOR(1)
@@ -39,18 +39,6 @@ static MACHINE_CONFIG_START( vic1011 )
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor vic1011_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( vic1011 );
-}
-
-
-
//**************************************************************************
// LIVE DEVICE
//**************************************************************************