Fixed thread issues

Fixed args passing
Fixed thread stopping/pausing (temporarily)
Fixed problems with SC_Condition and SC_Mutex (partially)
This commit is contained in:
Nekotekina 2014-02-03 17:12:25 +04:00
parent a0c8e116df
commit 311486ed79
10 changed files with 60 additions and 19 deletions

View file

@ -93,7 +93,7 @@ CPUThread* CPUThreadManager::GetThread(u32 id)
{
CPUThread* res;
Emu.GetIdManager().GetIDData(id, res);
if (!Emu.GetIdManager().GetIDData(id, res)) return nullptr;
return res;
}