diff options
author | 2020-11-07 08:09:17 -0700 | |
---|---|---|
committer | 2020-11-07 08:09:17 -0700 | |
commit | 97578c5d94bdbb47d8be8cf7598ac21c209947f9 (patch) | |
tree | e7b87653b95c19ec8a1582dd65c0b27c4f99ed7b | |
parent | a603f21dc379c717e8d6b9a4d70544ad396c74b6 (diff) |
seattle.cpp: Fix blitz99 input port mapping by setting default values for unused io bits
-rw-r--r-- | src/mame/drivers/seattle.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/seattle.cpp b/src/mame/drivers/seattle.cpp index c4bb2ccef9a..f078b52ef48 100644 --- a/src/mame/drivers/seattle.cpp +++ b/src/mame/drivers/seattle.cpp @@ -738,7 +738,7 @@ void seattle_state::wheel_board_w(offs_t offset, uint32_t data) } else if (BIT(data, 9) || BIT(data, 8)) { - logerror("%08X:wheel_board_w(%d) = %08X\n", m_maincpu->pc(), offset, data); + //logerror("%08X:wheel_board_w(%d) = %08X\n", m_maincpu->pc(), offset, data); } else { @@ -818,7 +818,7 @@ CUSTOM_INPUT_MEMBER(seattle_state::i40_r) //logerror("%s: i40_r: select: %x index: %d data: %x\n", machine().describe_context(), m_i40_data, index, data); break; } - logerror("%s: i40_r: select: %x index: %d data: %x\n", machine().describe_context(), m_i40_data, index, data); + //logerror("%s: i40_r: select: %x index: %d data: %x\n", machine().describe_context(), m_i40_data, index, data); //if (m_i40_data & 0x1000) // printf("%s: i40_r: select: %x index: %d data: %x\n", machine().describe_context().c_str(), m_i40_data, index, data); //m_i40_data &= ~0x1000; @@ -1761,10 +1761,12 @@ static INPUT_PORTS_START( blitz99 ) PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(3) PORT_NAME("P3 A") PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3) PORT_NAME("P3 B") PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(3) PORT_NAME("P3 Turbo") + PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x0f00, IP_ACTIVE_LOW, IPT_CUSTOM) PORT_CUSTOM_MEMBER(seattle_state, i40_r) PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(4) PORT_NAME("P4 A") PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(4) PORT_NAME("P4 B") PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(4) PORT_NAME("P4 Turbo") + PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("8WAY_P4") PORT_BIT( 0x1, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP ) PORT_PLAYER(4) PORT_8WAY |