カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力解決済み修正済み2008-10-14 08:252008-11-03 19:02
 
テスターamameuser担当者aaronソースcapcom/cps1.cpp
バージョン0.127u8発生バージョン0.127u1修正バージョン0.128u3
修正コミットプルリク
フラグ
セット ghoulsu
セット詳細
ghoulsu - 大魔界村 / Ghouls'n Ghosts (US版)
 
概 要コンディショナルポート使用時にオリジナルのポートが削除されない。
詳 細Using PORT_MODIFY should allow a driver to replace overlaping entries in the original definition with new values.

However the following scenarios show, that this only works if the modified port doesn't have a condition attached to it.

Original port with no condition -> Modified port with no condition -> Pass, port replaced

Original port with condition -> Modified port with no condition -> Pass, port replaced

Original port with no condition -> Modified port with condition -> Fail, duplicate port added

Original port with condition -> Modified port with condition -> Fail duplicate port added

If the modified port has a condition, it is added without removing the original, causing a duplicate entry that is not picked up by the validity checks.
再現手順Start ghoulsu, select dip switches in the interface and observe that the following ports are duplicated:

Difficulty -> SW(B) 1,2,3 [Modified]
Difficulty -> SW(B) 1,2,3 [Original]

Unused -> SW(B) 4 [Original]
Unused -> SW(B) 4 [Modified]

Bonus Life -> SW(B) 5,6 [Modified]
Bonus Life -> SW(B) 5,6 [Original]

Coin A -> SW(A) 1,2,3 [Modified]
Coin A -> SW(A) 1,2,3 [Original]

Coin B -> SW(A) 4,5,6 [Modified]
Coin B -> SW(A) 4,5,6 [Original]

Change Game Mode from Game to Test and observe that the following ports are now duplicated:

Starting Weapon -> SW(B) 1,2,3 [Modified]
Difficulty -> SW(B) 1,2,3 [Original]

Unused -> SW(B) 4 [Original]
Armor on New Life -> SW(B) 4,5,6 [Modified]
Bonus Life -> SW(B) 5,6 [Original]

Starting Level -> SW(A) 1,2,3,4 [Modified]
Coin A -> SW(A) 1,2,3 [Original]
Invulnerability -> SW(A) 5 [Modified]
Slow Motion -> SW(A) 6 [Modified]
Coin B -> SW(A) 4,5,6 [Original]

This can be seen more clearly in the attached screen shots where red is the original port inherited from ghouls and green is the modified port from ghouslu, the red ports should not be present.
追加情報 
 
添付ファイルpng fileghoulsu_game.png (2008-10-14 08:25)
png fileghoulsu_test.png (2008-10-14 08:26)