mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
-unsp: Actually respect the IRQ enable flag. Fixes vsmile lionking, jak_s500 SDRAM test, probably others. [Ryan Holtz]
This commit is contained in:
parent
9a0f1dfdf1
commit
b6b96c9e37
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user