mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Added a critical section around the external_interrupt_waiting variable, to be safe. Also, commit a file I missed in r6859.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6860 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -321,8 +321,16 @@ u16 DSP_WriteControlRegister(u16 _uFlag)
|
||||
// and immediately process it, if it has.
|
||||
if (_uFlag & 2)
|
||||
{
|
||||
DSPCore_CheckExternalInterrupt();
|
||||
DSPCore_CheckExceptions();
|
||||
if (!g_dspInitialize.bOnThread)
|
||||
{
|
||||
DSPCore_CheckExternalInterrupt();
|
||||
DSPCore_CheckExceptions();
|
||||
}
|
||||
else
|
||||
{
|
||||
DSPCore_SetExternalInterrupt(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return DSPInterpreter::ReadCR();
|
||||
|
Reference in New Issue
Block a user