[ オリジナルレポート ]

BugID: #08165

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力認証済み未処理2021-12-27 20:332022-01-30 20:19
 
テスターhap担当者 ソース
バージョン0.238発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット
セット詳細
 
概 要ファーストフレームで入力がアクティブでない。
詳 細Inputs are not active during the first frame after cold boot or hard reset.
I think it only applies to inputs obtained from the OSD (keyboard, gamepad, etc).
再現手順This is a bug in the MAME core, it can affect any driver.
I found an easy test case with im05, though that set has been added late december 2021, it will be in MAME 0.240.
One of the first things im05 does is check the keypad, and it enters a routine if one of the buttons was pressed. This happens in the 1st timeslice before the first frame is drawn.

- mame im05 -noskip_gameinfo
- at the gameinfo popup, hold "b" on keyboard
- game starts and shows "b" on the display

again:
- mame im05 -noskip_gameinfo
- press any key to start
- hold "b" on keyboard
- while holding "b", press F3 to do a soft reset
- game shows 4 dashes

The 2nd one is correct. It will show 4 dashes if you hold "b" at power-on, but does not happen in MAME unless you do a soft reset.
追加情報I think what happens in general is:

- start MAME
- emulate 1 frame
- enter 'vblank'
- draw frame
- check inputs
- emulate 1 frame
- enter 'vblank'
- draw frame
- check inputs
- etc

want:
- start MAME
- check inputs
- emulate 1 frame
- enter 'vblank'
- draw frame
- check inputs
- emulate 1 frame
- enter 'vblank'
- draw frame
- check inputs
- etc
 
添付ファイルjpg filesoccer2_pro.jpg (2022-01-30 20:15)