From d44a3471becee560dd48cb34d5be259e75d66065 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 4 Aug 2012 20:38:21 +0200 Subject: [PATCH] Fix DSP LLE thread affinity being set to the wrong core Patch from konpie: http://forums.dolphin-emulator.com/showthread.php?tid=24658 --- Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp index fbd568c136..a44ff65f21 100644 --- a/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp +++ b/Source/Core/Core/Src/HW/DSPLLE/DSPLLE.cpp @@ -121,7 +121,7 @@ void DSPLLE::dsp_thread(DSPLLE *dsp_lle) else core_id = 3; // 3rd core - Common::SetCurrentThreadAffinity(1 << core_id); + Common::SetCurrentThreadAffinity(1 << (core_id - 1)); } }