summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2020-12-30 12:20:08 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2020-12-30 12:20:08 +0700
commit6b076025fc3ddf8ad7f3e3da809cf661c326c0ff (patch)
tree75197eaca03550f4ccb066e7bd35b365a5fdab74 /src/devices/machine
parent5976fc789c589486cd1c76103aec21c1e85d262f (diff)
am9517a: simplify software request handling
Diffstat (limited to 'src/devices/machine')
-rw-r--r--src/devices/machine/am9517a.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/machine/am9517a.cpp b/src/devices/machine/am9517a.cpp
index a0015161b1e..4e99e678f20 100644
--- a/src/devices/machine/am9517a.cpp
+++ b/src/devices/machine/am9517a.cpp
@@ -853,15 +853,11 @@ void am9517a_device::write(offs_t offset, uint8_t data)
if (BIT(data, 2))
{
- m_request |= (1 << (channel + 4));
- if (COMMAND_MEM_TO_MEM)
- {
- m_request |= (1 << channel);
- }
+ m_request |= (1 << channel);
}
else
{
- m_request &= ~(1 << (channel + 4));
+ m_request &= ~(1 << channel);
}
LOG("AM9517A Request Register: %01x\n", m_request);