カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力解決済み修正済み2021-04-14 22:142021-04-14 23:03
 
テスターdink担当者dinkソースmidway/omegrace.cpp
バージョン0.230発生バージョン修正バージョン0.231
修正コミット f733062プルリク
フラグ
セット omegrace
セット詳細
omegrace - オメガレース (set 1)
 
概 要入力が混乱している。
詳 細Omega Race p2 inputs (coctail) scrambled
再現手順put into coctail mode via dips
play game with p2, observe that rotating ship is glitching
追加情報Solution:

static const uint8_t spinnerTable_p2[0x40] = {
0x00, 0x01, 0x05, 0x04, 0x06, 0x07, 0x17, 0x16,
0x14, 0x15, 0x11, 0x10, 0x12, 0x13, 0x1b, 0x1a,
0x18, 0x19, 0x1d, 0x1c, 0x1e, 0x1f, 0x3f, 0x3e,
0x3c, 0x3d, 0x39, 0x38, 0x3a, 0x3b, 0x33, 0x32,
0x30, 0x31, 0x35, 0x34, 0x36, 0x37, 0x27, 0x26,
0x24, 0x25, 0x21, 0x20, 0x22, 0x23, 0x2b, 0x2a,
0x28, 0x29, 0x2d, 0x2c, 0x2e, 0x2f, 0x0f, 0x0e,
0x0c, 0x0d, 0x09, 0x08, 0x0a, 0x0b, 0x03, 0x02 // p2 table decoded by dink (fbneo) aug.2020
};

uint8_t omegrace_state::omegrace_spinner2_r()
{
return (spinnerTable_p2[ioport("SPIN1")->read() & 0x3f]);
}

in:
void omegrace_state::port_map(address_map &map)
change:
map(0x16, 0x16).portr("SPIN1"); /* 2nd controller (cocktail) */
to
map(0x16, 0x16).r(FUNC(omegrace_state::omegrace_spinner2_r)); /* 2nd controller (coctail) */
 
添付ファイルzip fileomeg_mame.zip (2021-04-14 22:16)