[ オリジナルレポート ]

BugID: #03142

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力解決済み修正済み2009-05-04 19:392009-12-28 19:26
 
テスターmahlemiut担当者 ソース
バージョン0.131発生バージョン0.125u3修正バージョン0.136
フラグ
セット All drivers using PORT_CHANGED callbacks
セット詳細
 
概 要INP再生中に入力ポートのコールバック関数が正しく発動されない。
詳 細When playing back INPs in MAME or MESS from drivers that use PORT_CHANGED callback functions, they are not triggered by input from the INP file. Instead, they are still triggered by normal input. For example, in Zaxxon, you can insert coins while recording, as normal. But on playback of the resulting INP, coins are not registered unless you again press 5. No normal inputs should be accepted during INP playback.
再現手順Record an INP (use mame zaxxon -record test.inp).
When emulation starts, insert a few coins, and exit MAME.
Playback the INP again (use mame zaxxon -playback test.inp).
You will not see any coins inserted, as you would expect. You can insert coins during playback by pressing 5, which should not happen.
追加情報This behaviour was first noted in the MESS Amiga driver, where the keyboard doesn't appear to work on INP playback. I believe it was determined that the keyboard inputs are recorded in the INP file, just not used on playback. It was initially thought to be local to that driver, until I tested the Neo Geo Pocket driver, which did the same with just the power button (other controls worked fine on playback). The power button input was the only input with a PORT_CHANGED callback, which pretty much confirmed these callbacks as not working on INP playback correctly. I checked through the current MAME source, and found 28 drivers that use these callbacks, mostly for coin inputs. I tested both Zaxxon and Ladybug to confirm for sure that it is a MAME issue.
 
添付ファイルdiff fileinputport-281209.diff (2009-12-28 10:48)