diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2018-11-12 21:36:22 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2018-11-12 21:36:22 +0100 |
commit | 5b59f07b1b72576e611fba43e0c63b49553a9a66 (patch) | |
tree | e0c3c9d05a844114b9171618399e239a27a43837 /src/mame/drivers/thedealr.cpp | |
parent | 86ccb014b15353eb0d4e845b3aa015828d095dd3 (diff) |
ay8910: some more work on MCFG macros removal (nw)
Diffstat (limited to 'src/mame/drivers/thedealr.cpp')
-rw-r--r-- | src/mame/drivers/thedealr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/thedealr.cpp b/src/mame/drivers/thedealr.cpp index 12a7f3c5d35..72b8c77ad06 100644 --- a/src/mame/drivers/thedealr.cpp +++ b/src/mame/drivers/thedealr.cpp @@ -574,10 +574,10 @@ MACHINE_CONFIG_START(thedealr_state::thedealr) // sound hardware SPEAKER(config, "mono").front_center(); - MCFG_DEVICE_ADD("aysnd", YM2149, XTAL(16'000'000)/8) // 2 MHz? - MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW2")) - MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW1")) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) + ym2149_device &aysnd(YM2149(config, "aysnd", XTAL(16'000'000)/8)); // 2 MHz? + aysnd.port_a_read_callback().set_ioport("DSW2"); + aysnd.port_b_read_callback().set_ioport("DSW1"); + aysnd.add_route(ALL_OUTPUTS, "mono", 0.50); MACHINE_CONFIG_END /*************************************************************************** |