summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-11-14 21:02:35 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-11-14 21:02:35 +0100
commit55218652d5684f349064630dc2134b6dd8ba276c (patch)
tree20d1474a0b9f5a461c31f39c51e3fdb580774b52
parent632676b4faa00c853c9388ac504e6f4996182ca1 (diff)
bking.cpp, ironhors.cpp: fixed c/p errors in yesterday's ay8910 MCFG removal commit (nw)
-rw-r--r--src/mame/drivers/bking.cpp2
-rw-r--r--src/mame/drivers/ironhors.cpp6
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)