From d8f5778524c1d23d29b352394d8ab45bdb828d6a Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Wed, 7 Nov 2018 00:18:50 +0100 Subject: ay8910: small batch of MCFG removal (nw) --- src/devices/bus/cpc/playcity.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/devices/bus/cpc') diff --git a/src/devices/bus/cpc/playcity.cpp b/src/devices/bus/cpc/playcity.cpp index 160fc1a643b..95a0a5f6c2b 100644 --- a/src/devices/bus/cpc/playcity.cpp +++ b/src/devices/bus/cpc/playcity.cpp @@ -32,10 +32,10 @@ MACHINE_CONFIG_START(cpc_playcity_device::device_add_mconfig) SPEAKER(config, "lspeaker").front_left(); SPEAKER(config, "rspeaker").front_right(); - MCFG_DEVICE_ADD("ymz_1",YMZ294,XTAL(4'000'000)) // when timer is not set, operates at 4MHz (interally divided by 2, so equivalent to the ST) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "rspeaker", 0.30) - MCFG_DEVICE_ADD("ymz_2",YMZ294,XTAL(4'000'000)) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.30) + YMZ294(config, m_ymz1, XTAL(4'000'000)); // when timer is not set, operates at 4MHz (interally divided by 2, so equivalent to the ST) + m_ymz1->add_route(ALL_OUTPUTS, "rspeaker", 0.30); + YMZ294(config, m_ymz2, XTAL(4'000'000)); + m_ymz2->add_route(ALL_OUTPUTS, "lspeaker", 0.30); // pass-through MCFG_DEVICE_ADD("exp", CPC_EXPANSION_SLOT, 0) -- cgit v1.2.3-70-g09d2