summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/carjmbre.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-11-13 19:24:40 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-11-13 19:24:40 +0100
commit2bd1003e2c198c0bedbdc3fa2f62e1c1766babd0 (patch)
treef60a557580c0786e3a240d9f6441dd80e9f5edf6 /src/mame/drivers/carjmbre.cpp
parentd1a5bf3a8b92ef354b343941f4ea81dc346ef455 (diff)
ay8910: penultimate batch of MCFG removal (nw)
Diffstat (limited to 'src/mame/drivers/carjmbre.cpp')
-rw-r--r--src/mame/drivers/carjmbre.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/carjmbre.cpp b/src/mame/drivers/carjmbre.cpp
index c03922f062a..0c6a3b88e9e 100644
--- a/src/mame/drivers/carjmbre.cpp
+++ b/src/mame/drivers/carjmbre.cpp
@@ -383,13 +383,11 @@ MACHINE_CONFIG_START(carjmbre_state::carjmbre)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ GENERIC_LATCH_8(config, "soundlatch");
- MCFG_DEVICE_ADD("ay1", AY8910, XTAL(18'432'000)/6/2)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ AY8910(config, "ay1", XTAL(18'432'000)/6/2).add_route(ALL_OUTPUTS, "mono", 0.25);
- MCFG_DEVICE_ADD("ay2", AY8910, XTAL(18'432'000)/6/2)
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ AY8910(config, "ay2", XTAL(18'432'000)/6/2).add_route(ALL_OUTPUTS, "mono", 0.25);
MACHINE_CONFIG_END