From 19921c057af2d6ecdd35c81ca88038a471f5cd4a Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 10 Mar 2009 05:43:18 +0000 Subject: fix annoying debug break in win32. some cleanup git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2639 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CPUDetect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/Src/CPUDetect.cpp') 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 -- cgit v1.2.3