diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-08-06 06:18:22 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-08-06 06:18:22 +0000 |
| commit | 95344be6744d444c76075f9ea4866c94fec6f43f (patch) | |
| tree | 8e0300df9495b3db84660538fcf95ab7cb7bc4da /Source/Core/Common/Src/CPUDetect.cpp | |
| parent | 43adc4f194778fdd098cfd1c46217da9b6d29ecb (diff) | |
misc cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3942 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/CPUDetect.cpp')
| -rw-r--r-- | Source/Core/Common/Src/CPUDetect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
