summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/huc6272.cpp
diff options
context:
space:
mode:
author MooglyGuy <therealmogminer@gmail.com>2019-07-02 20:30:21 +0200
committer MooglyGuy <therealmogminer@gmail.com>2019-07-02 20:30:37 +0200
commitb6ce2e16d867b21119ce36f6e108d0866f396089 (patch)
tree16c3b1bfd5d9011b366ded7f10baef32c440651c /src/devices/video/huc6272.cpp
parent0b8733206a1f6d3c931171c18f2200b2eb5a2b87 (diff)
-core: Removed almost all MCFG defines, and removed all remaining MACHINE_CONFIG_START/END uses. [Ryan Holtz]
Diffstat (limited to 'src/devices/video/huc6272.cpp')
-rw-r--r--src/devices/video/huc6272.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/huc6272.cpp b/src/devices/video/huc6272.cpp
index fbf6a6c5726..b091b67afb9 100644
--- a/src/devices/video/huc6272.cpp
+++ b/src/devices/video/huc6272.cpp
@@ -574,9 +574,9 @@ void huc6272_device::interrupt_update()
void huc6272_device::cdrom_config(device_t *device)
{
- device = device->subdevice("cdda");
- MCFG_SOUND_ROUTE(0, "^^cdda_l", 1.0)
- MCFG_SOUND_ROUTE(1, "^^cdda_r", 1.0)
+ cdda_device *cdda = device->subdevice<cdda_device>("cdda");
+ cdda->add_route(0, "^^cdda_l", 1.0);
+ cdda->add_route(1, "^^cdda_r", 1.0);
}
//-------------------------------------------------