From 48cfb8aa1fbf03dfe09e30d4c89db70126e8e1a5 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Fri, 15 Aug 2008 20:51:32 +0000 Subject: [PATCH] bug fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@223 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CPUDetect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/Src/CPUDetect.cpp b/Source/Core/Common/Src/CPUDetect.cpp index 5f2ce3baa9..b221fc14f5 100644 --- a/Source/Core/Common/Src/CPUDetect.cpp +++ b/Source/Core/Common/Src/CPUDetect.cpp @@ -117,7 +117,7 @@ void CPUInfo::Detect() if ((cpu_id[2] >> 19) & 1) bSSE4_1 = true; if ((cpu_id[2] >> 20) & 1) bSSE4_2 = true; } - if (max_std_fn >= 4) { + if (max_ex_fn >= 0x80000004) { // Extract brand string __cpuid(cpu_id, 0x80000002); memcpy(brand_string, cpu_id, sizeof(cpu_id));