summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPInterpreter.cpp
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-08-20 21:38:10 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-08-20 21:38:10 +0000
commit99b4b0470525b7c1dd0f7fc37f55733b8a36dae8 (patch)
tree1a254f4e7662ea7d19e746f3fd7b138bb000adb0 /Source/Core/DSPCore/Src/DSPInterpreter.cpp
parent3c59b8bdede39039d372f8474d96a21f5fffb191 (diff)
DSP LLE on Thread with LLE now boots, but no sound. The mail connection appears to be incomplete in the on thread mode, but it's much faster than on the CPU thread.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4022 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPInterpreter.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPInterpreter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DSPCore/Src/DSPInterpreter.cpp b/Source/Core/DSPCore/Src/DSPInterpreter.cpp
index 8840cd34cf..4e2011a53c 100644
--- a/Source/Core/DSPCore/Src/DSPInterpreter.cpp
+++ b/Source/Core/DSPCore/Src/DSPInterpreter.cpp
@@ -106,13 +106,11 @@ void Run()
while (!(g_dsp.cr & CR_HALT))
{
// Are we running?
- if (DSPHost_Running())
+ if (DSPHost_Running() && !DSPHost_OnThread())
break;
- DSPCore_CheckExternalInterrupt();
// This number (500) is completely arbitrary. TODO: tweak.
- for (int i = 0; i < 500 && !(g_dsp.cr & CR_HALT); i++)
- Step();
+ RunCyclesDebug(500);
if (!gdsp_running)
break;