From 55218652d5684f349064630dc2134b6dd8ba276c Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Wed, 14 Nov 2018 21:02:35 +0100 Subject: bking.cpp, ironhors.cpp: fixed c/p errors in yesterday's ay8910 MCFG removal commit (nw) --- src/mame/drivers/bking.cpp | 2 +- src/mame/drivers/ironhors.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/bking.cpp b/src/mame/drivers/bking.cpp index 395a02f3023..b5c7f43ef5d 100644 --- a/src/mame/drivers/bking.cpp +++ b/src/mame/drivers/bking.cpp @@ -433,7 +433,7 @@ MACHINE_CONFIG_START(bking_state::bking) AY8910(config, "ay1", XTAL(6'000'000)/4).add_route(ALL_OUTPUTS, "speaker", 0.25); ay8910_device &ay2(AY8910(config, "ay2", XTAL(6'000'000)/4)); - ay2.port_b_write_callback().set("dac", FUNC(dac_byte_interface::data_w)); + ay2.port_a_write_callback().set("dac", FUNC(dac_byte_interface::data_w)); ay2.port_b_write_callback().set(FUNC(bking_state::port_b_w)); ay2.add_route(ALL_OUTPUTS, "speaker", 0.25); diff --git a/src/mame/drivers/ironhors.cpp b/src/mame/drivers/ironhors.cpp index e22c0d9cf4b..288af65e523 100644 --- a/src/mame/drivers/ironhors.cpp +++ b/src/mame/drivers/ironhors.cpp @@ -414,9 +414,9 @@ MACHINE_CONFIG_START(ironhors_state::ironhors) ym2203_device &ym2203(YM2203(config, "ym2203", 18432000/6)); ym2203.port_a_write_callback().set(FUNC(ironhors_state::filter_w)); ym2203.add_route(0, "disc_ih", 1.0, 0); - ym2203.add_route(0, "disc_ih", 1.0, 1); - ym2203.add_route(0, "disc_ih", 1.0, 2); - ym2203.add_route(0, "disc_ih", 1.0, 3); + ym2203.add_route(1, "disc_ih", 1.0, 1); + ym2203.add_route(2, "disc_ih", 1.0, 2); + ym2203.add_route(3, "disc_ih", 1.0, 3); MCFG_DEVICE_ADD("disc_ih", DISCRETE, ironhors_discrete) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) -- cgit v1.2.3