Fixed the "Locked threads to cores" option properly. Thanks to ernesto and xenofears.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6584 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2010-12-15 02:29:06 +00:00
parent 85ec8d268d
commit e61133625a
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ THREAD_RETURN EmuThread(void *pArg)
if (_CoreParameter.bLockThreads)
{
if (cpu_info.num_cores > 3)
Common::Thread::SetCurrentThreadAffinity(3); // Force to third, non-HT core
Common::Thread::SetCurrentThreadAffinity(4); // Force to third, non-HT core
else
Common::Thread::SetCurrentThreadAffinity(2); // Force to second core
}