mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 21:43:29 +01:00
Windows: Fix wrong detection of ARM architecture
This commit is contained in:
parent
17a3c3dbe0
commit
a505f3d98b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user