summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/CPUDetect.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-03-10 05:43:18 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-03-10 05:43:18 +0000
commit19921c057af2d6ecdd35c81ca88038a471f5cd4a (patch)
tree26960ad12327e90640171a4cb9d829550debf498 /Source/Core/Common/Src/CPUDetect.cpp
parent79e14b407745d4bd5ecdc836c565e9ef26664c91 (diff)
fix annoying debug break in win32. some cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2639 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
-rw-r--r--Source/Core/Common/Src/CPUDetect.cpp6
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