summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/huc6272.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 17:19:07 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 17:19:07 +0200
commit0832b6e2be4be218981a80c13a255bfa237fa1b1 (patch)
tree12cf09199ebf357b46ed80c99827e0e8e96a1601 /src/devices/video/huc6272.cpp
parenta1e83106ad0943aff288b91e8daa9c8bf3151e0e (diff)
updated devices/video devices to use device_add_mconfig insted of device_mconfig_additions (nw)
Diffstat (limited to 'src/devices/video/huc6272.cpp')
-rw-r--r--src/devices/video/huc6272.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/devices/video/huc6272.cpp b/src/devices/video/huc6272.cpp
index e83cb4fd316..12e5cfb3046 100644
--- a/src/devices/video/huc6272.cpp
+++ b/src/devices/video/huc6272.cpp
@@ -379,7 +379,11 @@ WRITE32_MEMBER( huc6272_device::write )
}
}
-static MACHINE_CONFIG_START( king_scsi_intf )
+//-------------------------------------------------
+// device_add_mconfig - add device configuration
+//-------------------------------------------------
+
+MACHINE_CONFIG_MEMBER( huc6272_device::device_add_mconfig )
MCFG_DEVICE_ADD("scsi", SCSI_PORT, 0)
MCFG_SCSI_RST_HANDLER(DEVWRITELINE("scsi_ctrl_in", input_buffer_device, write_bit7))
MCFG_SCSI_BSY_HANDLER(DEVWRITELINE("scsi_ctrl_in", input_buffer_device, write_bit6))
@@ -397,13 +401,3 @@ static MACHINE_CONFIG_START( king_scsi_intf )
MCFG_SCSIDEV_ADD("scsi:" SCSI_PORT_DEVICE1, "cdrom", SCSICD, SCSI_ID_1)
MACHINE_CONFIG_END
-
-//-------------------------------------------------
-// machine_config_additions - return a pointer to
-// the device's machine fragment
-//-------------------------------------------------
-
-machine_config_constructor huc6272_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( king_scsi_intf );
-}