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
This commit is contained in:
cam900 2023-12-13 23:04:08 +09:00 committed by GitHub
parent 7e24066b41
commit ef6710953f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}