From a505f3d98b826775b03e693c55c7e2ea82288ed5 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 2 Aug 2021 01:16:37 +0200 Subject: Windows: Fix wrong detection of ARM architecture --- src/Common/Dlgcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 856d4241..ecd91683 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -10855,7 +10855,7 @@ BOOL IsARM() USHORT processMachine, nativeMachine; if (fnIsWow64Process2(GetCurrentProcess(), &processMachine, &nativeMachine)) { - if (IMAGE_FILE_MACHINE_ARM64 == nativeMachine || IMAGE_FILE_MACHINE_AMD64 == nativeMachine || IMAGE_FILE_MACHINE_IA64 == nativeMachine || IMAGE_FILE_MACHINE_ALPHA64 == nativeMachine) + if (IMAGE_FILE_MACHINE_ARM64 == nativeMachine || IMAGE_FILE_MACHINE_ARM == nativeMachine) isARM = TRUE; else isARM = FALSE; -- cgit v1.2.3