diff options
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
| -rw-r--r-- | Source/Core/Common/Src/CPUDetect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Src/CPUDetect.cpp b/Source/Core/Common/Src/CPUDetect.cpp index beb532e7b7..40dbd5e372 100644 --- a/Source/Core/Common/Src/CPUDetect.cpp +++ b/Source/Core/Common/Src/CPUDetect.cpp @@ -89,11 +89,11 @@ void CPUInfo::Detect() OS64bit = true; #endif num_cores = 1; - + #ifdef _WIN32 #ifdef _M_IX86 - bool f64 = false; - OS64bit = IsWow64Process(GetCurrentProcess(), (PBOOL)(&f64)) && f64; + BOOL f64 = false; + OS64bit = IsWow64Process(GetCurrentProcess(), &f64); #endif #endif |
