summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/atapicdr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/atapicdr.cpp')
-rw-r--r--src/devices/machine/atapicdr.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/devices/machine/atapicdr.cpp b/src/devices/machine/atapicdr.cpp
index 33a949e1f41..b3a469896a8 100644
--- a/src/devices/machine/atapicdr.cpp
+++ b/src/devices/machine/atapicdr.cpp
@@ -26,22 +26,16 @@ atapi_fixed_cdrom_device::atapi_fixed_cdrom_device(const machine_config &mconfig
{
}
-static MACHINE_CONFIG_START( atapicdr )
+//-------------------------------------------------
+// device_add_mconfig - add device configuration
+//-------------------------------------------------
+
+MACHINE_CONFIG_MEMBER( atapi_cdrom_device::device_add_mconfig )
MCFG_CDROM_ADD("image")
MCFG_CDROM_INTERFACE("cdrom")
MCFG_SOUND_ADD("cdda", CDDA, 0)
MACHINE_CONFIG_END
-//-------------------------------------------------
-// machine_config_additions - device-specific
-// machine configurations
-//-------------------------------------------------
-
-machine_config_constructor atapi_cdrom_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( atapicdr );
-}
-
void atapi_cdrom_device::device_start()
{
m_image = subdevice<cdrom_image_device>("image");