mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01: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:
parent
85ec8d268d
commit
e61133625a
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user