diff options
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.h')
| -rw-r--r-- | Source/Core/Common/Src/CPUDetect.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/CPUDetect.h b/Source/Core/Common/Src/CPUDetect.h index 55a0de93c9..55c6b62b3b 100644 --- a/Source/Core/Common/Src/CPUDetect.h +++ b/Source/Core/Common/Src/CPUDetect.h @@ -52,12 +52,16 @@ struct CPUInfo bool bSSE4A; bool bLAHFSAHF64; bool bLongMode; - - // Detects the various cpu features - void Detect(); + // Call Detect() + explicit CPUInfo(); + // Turn the cpu info into a string we can show std::string Summarize(); + +private: + // Detects the various cpu features + void Detect(); }; extern CPUInfo cpu_info; |
