Improved ID manager.

Improved MemoryBlock.
This commit is contained in:
DH 2014-01-19 05:14:11 +02:00
parent 159b6ecea3
commit ab41540064
27 changed files with 813 additions and 767 deletions

View file

@ -66,20 +66,20 @@ void CPUThreadManager::RemoveThread(const u32 id)
#endif
if(thr->IsAlive())
{
thr->Close();
//thr->Close();
}
else
{
thr->Close();
delete thr;
//thr->Close();
//delete thr;
}
m_threads.RemoveFAt(i);
i--;
break;
}
Emu.GetIdManager().RemoveID(id, false);
Emu.GetIdManager().RemoveID(id);
Emu.CheckStatus();
}