mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user