From b1de88f51dd07d55b0f8835e2a5a8957ad7690a1 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sat, 7 Dec 2019 21:26:46 +1100 Subject: (nw) Fixed the build. --- src/devices/bus/s100/ascsasi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/devices/bus/s100/ascsasi.cpp b/src/devices/bus/s100/ascsasi.cpp index 7a52a8cb7e0..ef8b2d329e3 100644 --- a/src/devices/bus/s100/ascsasi.cpp +++ b/src/devices/bus/s100/ascsasi.cpp @@ -170,7 +170,7 @@ u8 asc_sasi_device::s100_sinp_r(offs_t offset) else { // INDAT: 74LS240 buffer (IC13) - if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() && nscsi_device::S_REQ)) + if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() & nscsi_device::S_REQ)) m_sasi->ctrl_w(7, nscsi_device::S_ACK, nscsi_device::S_ACK); return m_sasi->data_r(); } @@ -187,10 +187,10 @@ void asc_sasi_device::s100_sout_w(offs_t offset, u8 data) { case 0: // LATENA: 74LS373 latch (IC8) outputs to 74LS240 buffer (IC9) - if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() && nscsi_device::S_REQ)) + if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() & nscsi_device::S_REQ)) m_sasi->ctrl_w(7, nscsi_device::S_ACK, nscsi_device::S_ACK); m_data_latch = data; - if (!(m_sasi->ctrl_r() && nscsi_device::S_INP)) + if (!(m_sasi->ctrl_r() & nscsi_device::S_INP)) m_sasi->data_w(7, data); break; -- cgit v1.2.3