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:
parent
85ec8d268d
commit
e61133625a
|
@ -316,7 +316,7 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||||
if (_CoreParameter.bLockThreads)
|
if (_CoreParameter.bLockThreads)
|
||||||
{
|
{
|
||||||
if (cpu_info.num_cores > 3)
|
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
|
else
|
||||||
Common::Thread::SetCurrentThreadAffinity(2); // Force to second core
|
Common::Thread::SetCurrentThreadAffinity(2); // Force to second core
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue