Bugfixed thread affinity restoration during CpuSpeed detection; pcsx2 should use all your cores properly again. :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1502 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-07-13 02:14:09 +00:00
parent 792b1031e6
commit 366357228d
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ static void SetSingleAffinity()
}
HANDLE s_threadId = GetCurrentThread();
DWORD s_oldmask = SetThreadAffinityMask( s_threadId, (1UL<<i) );
s_oldmask = SetThreadAffinityMask( s_threadId, (1UL<<i) );
if( s_oldmask == ERROR_INVALID_PARAMETER )
{