From 0f0adb4aeeb7f61d86f16ff5bb675e2d4c703484 Mon Sep 17 00:00:00 2001 From: gnick79 Date: Wed, 2 Feb 2011 02:05:57 +0000 Subject: [PATCH] * Quick CPUID fix - this should fix a detecting problem related to some AMD CPU git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7037 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CPUDetect.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Common/Src/CPUDetect.cpp b/Source/Core/Common/Src/CPUDetect.cpp index 690875ec60..063c55abba 100644 --- a/Source/Core/Common/Src/CPUDetect.cpp +++ b/Source/Core/Common/Src/CPUDetect.cpp @@ -180,6 +180,10 @@ void CPUInfo::Detect() num_cores = (cores_x_package > 1) ? cores_x_package : num_cores; logical_cpu_count /= cores_x_package; } + else + { + num_cores = 1; + } } else { // Use AMD's new method. num_cores = (cpu_id[2] & 0xFF) + 1;