mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
changela: bool(~BIT(x)) is always true (does not fix steering problem)
This commit is contained in:
parent
3ba31270ab
commit
f17fb8295f
@ -49,7 +49,7 @@ void changela_state::changela_68705_port_a_w(uint8_t data)
|
||||
void changela_state::changela_68705_port_c_w(uint8_t data)
|
||||
{
|
||||
/* PC3 is connected to the CLOCK input of the LS374, so we latch the data on rising edge */
|
||||
if (BIT(data, 3) && ~BIT(m_port_c_out, 3))
|
||||
if (BIT(data, 3) && !BIT(m_port_c_out, 3))
|
||||
m_mcu_out = m_port_a_out & (BIT(m_port_c_out, 2) ? 0xff : m_mcu_in);
|
||||
|
||||
/* PC2 is connected to the /OE input of the LS374 */
|
||||
|
Loading…
Reference in New Issue
Block a user