mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
It's not possible for the CPU to clear CR_EXTERNAL_INT
This commit is contained in:
parent
295eac1c95
commit
93d4f75b42
1 changed files with 6 additions and 1 deletions
|
@ -224,7 +224,12 @@ void Interpreter::WriteControlRegister(u16 val)
|
|||
state.control_reg, val, state.pc);
|
||||
}
|
||||
|
||||
// The CR_EXTERNAL_INT bit is handled by DSPLLE::DSP_WriteControlRegister
|
||||
if ((state.control_reg & CR_EXTERNAL_INT) != 0)
|
||||
{
|
||||
// The external interrupt can't be cleared by the CPU
|
||||
// (and the CR_EXTERNAL_INT bit remains set until the external interrupt is sent to the DSP)
|
||||
val |= CR_EXTERNAL_INT;
|
||||
}
|
||||
|
||||
// reset
|
||||
if ((val & CR_RESET) != 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue