summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2019-01-20 17:55:35 +0100
committer Olivier Galibert <galibert@pobox.com>2019-01-20 17:55:47 +0100
commit95cd81e5fddc0a8c4f5d7e27cd7c2e7188d9fbfc (patch)
treee63c3f6a382707773299fe30750250b8b11e25c9
parente1486c9a2a05fbe4833e47a276be95f0660b3c7f (diff)
wd33c93: Disable irq when drq is active, cps3 works again [O. Galibert]
-rw-r--r--src/devices/machine/wd33c9x.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/wd33c9x.cpp b/src/devices/machine/wd33c9x.cpp
index c58a95c63dc..7db9f86f7d7 100644
--- a/src/devices/machine/wd33c9x.cpp
+++ b/src/devices/machine/wd33c9x.cpp
@@ -536,7 +536,8 @@ READ8_MEMBER(wd33c9x_base_device::indir_addr_r)
if (offset != 0) {
fatalerror("%s: Read from invalid address offset %d\n", shortname(), offset);
}
- return m_regs[AUXILIARY_STATUS];
+ // Trick to push the interrupt flag after the fifo is empty to help cps3
+ return m_regs[AUXILIARY_STATUS] & 0x01 ? m_regs[AUXILIARY_STATUS] & 0x7f : m_regs[AUXILIARY_STATUS];
}