|DIP/入力||中||解決済み||修正済み||2009-05-04 19:39||2009-12-28 19:26|
|セット||All drivers using PORT_CHANGED callbacks|
|詳 細||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.|
|添付ファイル||inputport-281209.diff (2009-12-28 10:48)|