summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/CPUDetect.cpp
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-08-15 20:51:32 +0000
committerhrydgard <hrydgard@gmail.com>2008-08-15 20:51:32 +0000
commit48cfb8aa1fbf03dfe09e30d4c89db70126e8e1a5 (patch)
treeb59f90dbca58c8efc9157627f7aedf6666f62b91 /Source/Core/Common/Src/CPUDetect.cpp
parenta077e1e1de21fce509b9db3a40fecb57889d5bad (diff)
bug fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@223 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
-rw-r--r--Source/Core/Common/Src/CPUDetect.cpp2
1 files changed, 1 insertions, 1 deletions
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));