diff options
author | 2018-11-07 00:18:50 +0100 | |
---|---|---|
committer | 2018-11-07 00:18:50 +0100 | |
commit | d8f5778524c1d23d29b352394d8ab45bdb828d6a (patch) | |
tree | 0fb37192fb485204da96d9c4f88d65eb3e085312 /src/devices/bus/cpc | |
parent | 103afb337b5f25d4031450566f3107ff0f14c733 (diff) |
ay8910: small batch of MCFG removal (nw)
Diffstat (limited to 'src/devices/bus/cpc')
-rw-r--r-- | src/devices/bus/cpc/playcity.cpp | 8 |
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) |