fix annoying debug break in win32. some cleanup

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2639 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-03-10 05:43:18 +00:00
parent 79e14b4077
commit 19921c057a
3 changed files with 142 additions and 155 deletions

View File

@ -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