summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-09-03 16:18:37 +0200
committer hap <happppp@users.noreply.github.com>2021-09-03 16:18:37 +0200
commit3e2c155a9916db772082583e62126758da30f082 (patch)
treed24ffda2bca560a18513c3c72834c312efd78baf
parentf17fb8295f40933c3a6294ace23604e07f982f68 (diff)
changela: fix steering problem, probably
-rw-r--r--src/mame/drivers/changela.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/changela.cpp b/src/mame/drivers/changela.cpp
index ec4f5e5d038..17cbf34c280 100644
--- a/src/mame/drivers/changela.cpp
+++ b/src/mame/drivers/changela.cpp
@@ -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;
}