Alexandre Julliard : kernelbase: Compare against the correct constants in GetNativeSystemInfo().
Alexandre Julliard
julliard at winehq.org
Fri Apr 30 16:03:28 CDT 2021
Module: wine
Branch: master
Commit: 1b7c292d625cc3675d187adddd6fef577644e1f7
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1b7c292d625cc3675d187adddd6fef577644e1f7
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Apr 30 20:49:47 2021 +0200
kernelbase: Compare against the correct constants in GetNativeSystemInfo().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51082
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernelbase/memory.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/kernelbase/memory.c b/dlls/kernelbase/memory.c
index 1969fd732b1..0cfce90a979 100644
--- a/dlls/kernelbase/memory.c
+++ b/dlls/kernelbase/memory.c
@@ -81,16 +81,16 @@ void WINAPI DECLSPEC_HOTPATCH GetNativeSystemInfo( SYSTEM_INFO *si )
if (!current_machine) return;
switch (native_machine)
{
- case PROCESSOR_ARCHITECTURE_AMD64:
+ case IMAGE_FILE_MACHINE_AMD64:
si->u.s.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_AMD64;
si->dwProcessorType = PROCESSOR_AMD_X8664;
break;
- case PROCESSOR_ARCHITECTURE_ARM64:
+ case IMAGE_FILE_MACHINE_ARM64:
si->u.s.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_ARM64;
si->dwProcessorType = 0;
break;
default:
- FIXME( "Add the proper information for %d in wow64 mode\n", si->u.s.wProcessorArchitecture );
+ FIXME( "Add the proper information for %x in wow64 mode\n", native_machine );
}
}
More information about the wine-cvs
mailing list