* 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
This commit is contained in:
parent
4223ebc8d2
commit
0f0adb4aee
|
@ -180,6 +180,10 @@ void CPUInfo::Detect()
|
||||||
num_cores = (cores_x_package > 1) ? cores_x_package : num_cores;
|
num_cores = (cores_x_package > 1) ? cores_x_package : num_cores;
|
||||||
logical_cpu_count /= cores_x_package;
|
logical_cpu_count /= cores_x_package;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
num_cores = 1;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Use AMD's new method.
|
// Use AMD's new method.
|
||||||
num_cores = (cpu_id[2] & 0xFF) + 1;
|
num_cores = (cpu_id[2] & 0xFF) + 1;
|
||||||
|
|
Loading…
Reference in New Issue