summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/CPUDetect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
-rw-r--r--Source/Core/Common/Src/CPUDetect.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/CPUDetect.cpp b/Source/Core/Common/Src/CPUDetect.cpp
index cd77d37346..5fcc7062d9 100644
--- a/Source/Core/Common/Src/CPUDetect.cpp
+++ b/Source/Core/Common/Src/CPUDetect.cpp
@@ -78,6 +78,10 @@ void __cpuid(int info[4], int x)
CPUInfo cpu_info;
+CPUInfo::CPUInfo() {
+ Detect();
+}
+
// Detects the various cpu features
void CPUInfo::Detect()
{