From 95344be6744d444c76075f9ea4866c94fec6f43f Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Thu, 6 Aug 2009 06:18:22 +0000 Subject: misc cleanup git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3942 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/CPUDetect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 b0908758d5..cd77d37346 100644 --- a/Source/Core/Common/Src/CPUDetect.cpp +++ b/Source/Core/Common/Src/CPUDetect.cpp @@ -93,7 +93,8 @@ void CPUInfo::Detect() #ifdef _WIN32 #ifdef _M_IX86 BOOL f64 = false; - OS64bit = IsWow64Process(GetCurrentProcess(), &f64); + IsWow64Process(GetCurrentProcess(), &f64); + OS64bit = (f64 == TRUE) ? true : false; #endif #endif -- cgit v1.2.3