From e61133625acb138ea73f6e801c7e263dc96544f7 Mon Sep 17 00:00:00 2001 From: skidau Date: Wed, 15 Dec 2010 02:29:06 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index c31a5c8e4a..3c0dc9fc17 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -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 }