summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2019-12-07 21:26:46 +1100
committer Robbbert <Robbbert@users.noreply.github.com>2019-12-07 21:26:46 +1100
commitb1de88f51dd07d55b0f8835e2a5a8957ad7690a1 (patch)
tree001af99f73d7c7af81c568177a78d4d266958253 /src/devices/bus
parenta6608152b986b5789790721e6487bac921ae29ed (diff)
(nw) Fixed the build.
Diffstat (limited to 'src/devices/bus')
-rw-r--r--src/devices/bus/s100/ascsasi.cpp6
1 files 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;