summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/playcity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/playcity.cpp')
-rw-r--r--src/devices/bus/cpc/playcity.cpp8
1 files changed, 4 insertions, 4 deletions
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)