declCPU removed, PPUThread& is passed as argument

Added experimental feature: passing PPUThread& to syscall
This commit is contained in:
Nekotekina 2014-09-16 21:46:22 +04:00
parent 8cc09d1c91
commit 626133c0eb
15 changed files with 111 additions and 81 deletions

View file

@ -243,13 +243,10 @@ void CPUThread::Stop()
m_status = Stopped;
if(CPUThread* thr = GetCurrentCPUThread())
if(static_cast<NamedThreadBase*>(this) != GetCurrentNamedThread())
{
if(thr->GetId() != GetId())
ThreadBase::Stop();
}
else
ThreadBase::Stop();
}
Emu.CheckStatus();