From d04ffc2d6b9ed3e3c2f89a3cfb01129deca706b2 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Sun, 12 Mar 2023 09:51:41 +0100 Subject: devices/machine/e0516.cpp: fixed compile on GCC --- src/devices/machine/e0516.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/machine/e0516.cpp b/src/devices/machine/e0516.cpp index 1ce16408f1b..b3c2d735247 100644 --- a/src/devices/machine/e0516.cpp +++ b/src/devices/machine/e0516.cpp @@ -175,7 +175,7 @@ WRITE_LINE_MEMBER( e0516_device::clk_w ) // command m_reg_latch <<= 1; m_reg_latch |= m_dio; - m_reg_latch & 0x0f; + m_reg_latch &= 0x0f; if (m_bits_left == 0) { -- cgit v1.2.3