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
This commit is contained in:
XTra.KrazzY 2009-08-20 21:38:10 +00:00
parent 3c59b8bded
commit 99b4b04705

View File

@ -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;