summaryrefslogtreecommitdiff
path: root/Source/Core/Common/x64CPUDetect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/x64CPUDetect.cpp')
-rw-r--r--Source/Core/Common/x64CPUDetect.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/Core/Common/x64CPUDetect.cpp b/Source/Core/Common/x64CPUDetect.cpp
index 3bdac9b30b..a17a8492cb 100644
--- a/Source/Core/Common/x64CPUDetect.cpp
+++ b/Source/Core/Common/x64CPUDetect.cpp
@@ -90,22 +90,12 @@ CPUInfo::CPUInfo() {
void CPUInfo::Detect()
{
memset(this, 0, sizeof(*this));
-#if _M_X86_32
- Mode64bit = false;
-#elif _M_X86_64
+#ifdef _M_X86_64
Mode64bit = true;
OS64bit = true;
#endif
num_cores = 1;
-#ifdef _WIN32
-#if _M_X86_32
- BOOL f64 = false;
- IsWow64Process(GetCurrentProcess(), &f64);
- OS64bit = (f64 == TRUE) ? true : false;
-#endif
-#endif
-
// Set obvious defaults, for extra safety
if (Mode64bit) {
bSSE = true;