Eric Pouech : kernel32: Added proper support for GetSystemInfo on x86_64.

Alexandre Julliard julliard at winehq.org
Fri Apr 16 10:56:06 CDT 2010


Module: wine
Branch: master
Commit: 409033cb6af6cae42146a22cba6f37e6a5ef3f01
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=409033cb6af6cae42146a22cba6f37e6a5ef3f01

Author: Eric Pouech <eric.pouech at orange.fr>
Date:   Thu Apr 15 22:16:52 2010 +0200

kernel32: Added proper support for GetSystemInfo on x86_64.

---

 dlls/kernel32/cpu.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c
index d08e429..5862eac 100644
--- a/dlls/kernel32/cpu.c
+++ b/dlls/kernel32/cpu.c
@@ -153,6 +153,9 @@ VOID WINAPI GetSystemInfo(
         default: si->dwProcessorType = 0;
         }
         break;
+    case PROCESSOR_ARCHITECTURE_AMD64:
+        si->dwProcessorType = PROCESSOR_AMD_X8664;
+        break;
     default: FIXME("Unknown processor architecture %x\n", sci.Architecture);
     }
     si->dwAllocationGranularity     = sbi.AllocationGranularity;




More information about the wine-cvs mailing list