summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Scott Stone <tafoid@gmail.com>2018-11-09 12:22:57 -0500
committer Scott Stone <tafoid@gmail.com>2018-11-09 12:22:57 -0500
commit2c4af3108885b2e657017589eab2007b794d3509 (patch)
tree33e3ea112e3b09c10b9d53311cdbf652b95b88ff
parent0e79a042451d3ce89a0bb3ec399a60d24e4ad010 (diff)
sandscrp.cpp: Fixed regression - game boots again (nw)
-rw-r--r--src/mame/drivers/sandscrp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/sandscrp.cpp b/src/mame/drivers/sandscrp.cpp
index f32dcb2b538..b42a8315311 100644
--- a/src/mame/drivers/sandscrp.cpp
+++ b/src/mame/drivers/sandscrp.cpp
@@ -519,8 +519,8 @@ MACHINE_CONFIG_START(sandscrp_state::sandscrp)
/* YM3014B + YM2203C */
ym2203_device &ymsnd(YM2203(config, "ymsnd", 4000000));
ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
- ymsnd.port_a_write_callback().set_ioport("DSW1");
- ymsnd.port_b_write_callback().set_ioport("DSW2");
+ ymsnd.port_a_read_callback().set_ioport("DSW1");
+ ymsnd.port_b_read_callback().set_ioport("DSW2");
ymsnd.add_route(ALL_OUTPUTS, "mono", 0.5);
MACHINE_CONFIG_END