mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00: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:
parent
f9f7629268
commit
e3d7e39b3e
4 changed files with 19 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue