カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
サウンド解決済み修正済み2014-12-17 10:392021-03-24 03:04
 
テスターenik担当者aaronソースmegadriv.cpp
バージョン0.156発生バージョン修正バージョン0.230
修正コミットプルリク
フラグ
セット genesis / megadriv / megadrij [microm96] [microm96a] [micromm]
セット詳細
 
概 要Micro Machines Turbo Tournament '96のクラクション音が間違っている。
詳 細The horn sound in Micro Machines Turbo Tournament '96 is incorrect/muffled.
再現手順MAME/MESS developer R. Belmont describes it:

"It plays "beep-beep" at the end of the intro (around the 10 second mark in
) and in-game one of the controller buttons does it." (pressing C on gameplay)
追加情報I found a fix for the MESS genesis/megadrive driver, by changing the rate value that is set in file 2612intf.c, function ym2612_device::device_start(). Rate was set with "clock()/72" and to fix the problem I just doubled the value of the divider ("clock()/144"), after tests with different values.

I don't know exactly why the 72 divider was used and why 144 is required to fix the problem, but after seen the sound_init() function of Genplus-GX SVN rev. 707 (sound.c file), I found there that 144 was used as a multipler when HQ mode of YM2612 is enabled, while 72 was used for HQ mode of the YM2413 chip. The values were used by Genplus-GX until SVN rev. 781, when some structural changes were made to files ym2612.c and sound.c, better described by this line of ym2612.c:

- removed input clock / output samplerate frequency ratio, chip now always run at (original) internal sample frequency

Those changes don't seem trivial to port to MAME/MESS. The rate parameter, that needed to be changed, isn't used anymore by Genplus-GX.
 
添付ファイル