Fixed the DSPLLE on thread option. Works with DSP JIT, DSP Interpreter, AX and Zelda ucodes.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6859 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau
2011-01-16 10:47:29 +00:00
parent 7e9f02869a
commit f9f7629268
3 changed files with 32 additions and 4 deletions

View File

@ -150,8 +150,14 @@ int RunCyclesDebug(int cycles)
if (cycles < 0)
return 0;
}
//DSPCore_CheckExternalInterrupt();
// In thread mode, process external interrupts
if (g_dsp.external_interrupt_waiting)
{
DSPCore_CheckExternalInterrupt();
DSPCore_CheckExceptions();
g_dsp.external_interrupt_waiting = false;
}
while (true)
{
@ -209,7 +215,13 @@ int RunCycles(int cycles)
return 0;
}
//DSPCore_CheckExternalInterrupt();
// In thread mode, process external interrupts
if (g_dsp.external_interrupt_waiting)
{
DSPCore_CheckExternalInterrupt();
DSPCore_CheckExceptions();
g_dsp.external_interrupt_waiting = false;
}
while (true)
{