diff options
author | MooglyGuy <therealmogminer@gmail.com> | 2020-03-22 20:58:13 +0100 |
---|---|---|
committer | MooglyGuy <therealmogminer@gmail.com> | 2020-03-22 20:58:44 +0100 |
commit | 80b5ac7ce021e4bef983bebd047df65096721cc1 (patch) | |
tree | ea79a9b1dc18ff79af0d234df35ce175e386b8a1 | |
parent | a9e9bd2803429f7dc9d159dc553f59b413b269a5 (diff) |
-unsp: Actually respect the IRQ enable flag. Fixes vsmile lionking, jak_s500 SDRAM test, probably others. [Ryan Holtz]
-rw-r--r-- | src/devices/cpu/unsp/unsp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/unsp/unsp.cpp b/src/devices/cpu/unsp/unsp.cpp index 1c1460710e6..6a47bf61dd2 100644 --- a/src/devices/cpu/unsp/unsp.cpp +++ b/src/devices/cpu/unsp/unsp.cpp @@ -458,7 +458,7 @@ inline void unsp_device::trigger_fiq() inline void unsp_device::trigger_irq(int line) { - if ((m_core->m_ine == 0 && m_core->m_irq == 1) || m_core->m_pri <= line) + if ((m_core->m_ine == 0 && m_core->m_irq == 1) || m_core->m_pri <= line || !m_core->m_enable_irq) return; m_core->m_irq = 1; |