diff options
| author | 2019-01-19 10:01:08 +0100 | |
|---|---|---|
| committer | 2019-01-19 10:01:08 +0100 | |
| commit | 536a49665f5ef69eeb92f9a8e89290db04cf7d3e (patch) | |
| tree | 010b7e5fa1ca333e6cc59c06bf360303bab2eb8a /src/devices/machine/cr511b.cpp | |
| parent | 370af8430ba021641ea5df42d13018ed974ab5fa (diff) | |
imagedev\chd_cd, diablo: removed MCFG macros (nw)
Diffstat (limited to 'src/devices/machine/cr511b.cpp')
| -rw-r--r-- | src/devices/machine/cr511b.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/machine/cr511b.cpp b/src/devices/machine/cr511b.cpp index 066f08575ac..6a4309f12c9 100644 --- a/src/devices/machine/cr511b.cpp +++ b/src/devices/machine/cr511b.cpp @@ -23,13 +23,13 @@ DEFINE_DEVICE_TYPE(CR511B, cr511b_device, "cr511b", "CR-511-B CD-ROM drive") // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(cr511b_device::device_add_mconfig) - MCFG_CDROM_ADD("cdrom") - MCFG_CDROM_INTERFACE("cdrom") - MCFG_DEVICE_ADD("cdda", CDDA) - MCFG_SOUND_ROUTE(0, ":lspeaker", 1.0) - MCFG_SOUND_ROUTE(1, ":rspeaker", 1.0) -MACHINE_CONFIG_END +void cr511b_device::device_add_mconfig(machine_config &config) +{ + CDROM(config, m_cdrom).set_interface("cdrom"); + CDDA(config, m_cdda); + m_cdda->add_route(0, ":lspeaker", 1.0); + m_cdda->add_route(1, ":rspeaker", 1.0); +} //************************************************************************** |
