summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2025-07-21 21:11:53 +0200
committer hap <happppp@users.noreply.github.com>2025-07-21 21:13:09 +0200
commit2dcc0d93006b5e7a527e6f556159c57f9905b0ce (patch)
tree8122ec20313faf2e569b949faa8e2c89df9541bb
parentc7f788a67ceccdf2eb14b2be7611264bfb515f5e (diff)
cz1: fix crash
-rw-r--r--src/mame/casio/cz1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/casio/cz1.cpp b/src/mame/casio/cz1.cpp
index d4b491367b5..669b4edea81 100644
--- a/src/mame/casio/cz1.cpp
+++ b/src/mame/casio/cz1.cpp
@@ -554,7 +554,7 @@ void cz1_state::stereo_w(u8 data)
bit 1: sound chip #2 routing (0: center, 2: right)
bit 2: center channel stereo chorus (0: on, 1: off)
*/
- m_mixer[0]->set_input_gain(1, BIT(data, 1) ? 0.0 : 1.0);
+ m_mixer[0]->set_input_gain(0, BIT(data, 1) ? 0.0 : 1.0);
m_mixer[1]->set_input_gain(0, BIT(data, 0) ? 0.0 : 1.0);
}