mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
Check DMAC interrupt.
This commit is contained in:
parent
2a119740c7
commit
695cb21e06
1 changed files with 2 additions and 1 deletions
|
@ -559,8 +559,9 @@ uint32 CSubSystem::IOPortWriteHandler(uint32 nAddress, uint32 nData)
|
|||
nAddress, nData, m_EE.m_State.nPC);
|
||||
}
|
||||
|
||||
bool isInterruptPending = m_intc.IsInterruptPending() || m_dmac.IsInterruptPending();
|
||||
if(
|
||||
m_intc.IsInterruptPending() &&
|
||||
isInterruptPending &&
|
||||
(m_EE.m_State.nHasException == MIPS_EXCEPTION_NONE) &&
|
||||
((m_EE.m_State.nCOP0[CCOP_SCU::STATUS] & INTERRUPTS_ENABLED_MASK) == INTERRUPTS_ENABLED_MASK))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue