mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Fixed sound of gomoku and kozure (by Takahiro Nogi)
gomoku: fixed frequency of oneshot voices kozure: kozure uses waveform select function of YM3812. Previously MAME used YM3526. This results incorrect tone.
This commit is contained in:
parent
7f407625e0
commit
7e97936b57
@ -1240,7 +1240,7 @@ void armedf_state::kozure(machine_config &config)
|
||||
MCFG_VIDEO_START_OVERRIDE(armedf_state,terraf)
|
||||
|
||||
/* sound hardware */
|
||||
sound_config(config);
|
||||
sound_config_3812(config);
|
||||
}
|
||||
|
||||
void armedf_state::armedf(machine_config &config)
|
||||
|
@ -213,9 +213,9 @@ void gomoku_sound_device::sound2_w(offs_t offset, uint8_t data)
|
||||
|
||||
// oneshot frequency is hand tune...
|
||||
if ((m_soundregs2[0x1d] & 0x0f) < 0x0c)
|
||||
voice->frequency = 3000 / 16; // ichi, ni, san, yon, go
|
||||
voice->frequency = (18'432'000 / 96000); // ichi, ni, san, yon, go
|
||||
else
|
||||
voice->frequency = 8000 / 16; // shoot
|
||||
voice->frequency = (18'432'000 / 48000); // shoot
|
||||
|
||||
voice->volume = 8;
|
||||
voice->counter = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user