changela: fix steering problem, probably

This commit is contained in:
hap 2021-09-03 16:18:37 +02:00
parent f17fb8295f
commit 3e2c155a99

View File

@ -1,6 +1,7 @@
// license:GPL-2.0+
// copyright-holders:Jarek Burczynski, Phil Stroffolino, Tomasz Slanina
/**************************************************************************
Change Lanes
(C) Taito 1983
@ -53,8 +54,7 @@ void changela_state::changela_68705_port_c_w(uint8_t data)
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 */
if (BIT(data, 2))
m_mcu->pa_w(BIT(data, 2) ? 0xff : m_mcu_in);
m_mcu->pa_w(BIT(data, 2) ? 0xff : m_mcu_in);
m_port_c_out = data;
}