From ef6710953f9027d5a11e7ec6c69aa9966e223707 Mon Sep 17 00:00:00 2001 From: cam900 Date: Wed, 13 Dec 2023 23:04:08 +0900 Subject: seta/seta.cpp: Corrected utoukond YM3438 sound chip clock divider. (#11838) * Also changed to mono sound output as the board lacks stereo outputs. * Sound now matches PCB recording: https://www.youtube.com/watch?v=Gq0vScbBmyI --- src/mame/seta/seta.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/mame/seta/seta.cpp b/src/mame/seta/seta.cpp index 7bdc774fa0c..b8149e876fd 100644 --- a/src/mame/seta/seta.cpp +++ b/src/mame/seta/seta.cpp @@ -8897,21 +8897,18 @@ void seta_state::utoukond(machine_config &config) PALETTE(config, m_palette).set_entries(512 * 3); // sprites, layer1, layer2 // sound hardware - SPEAKER(config, "lspeaker").front_left(); - SPEAKER(config, "rspeaker").front_right(); + SPEAKER(config, "mono").front_center(); GENERIC_LATCH_8(config, m_soundlatch); m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, 0); m_soundlatch->set_separate_acknowledge(true); X1_010(config, m_x1snd, 16000000); - m_x1snd->add_route(0, "lspeaker", 1.0); - m_x1snd->add_route(1, "rspeaker", 1.0); + m_x1snd->add_route(ALL_OUTPUTS, "mono", 0.50); - ym3438_device &ymsnd(YM3438(config, "ymsnd", 16000000/4)); // 4 MHz + ym3438_device &ymsnd(YM3438(config, "ymsnd", 16000000/2)); // 8 MHz ymsnd.irq_handler().set_inputline(m_audiocpu, INPUT_LINE_NMI); - ymsnd.add_route(0, "lspeaker", 0.30); - ymsnd.add_route(1, "rspeaker", 0.30); + ymsnd.add_route(ALL_OUTPUTS, "mono", 0.30); } -- cgit v1.2.3