Browse Source

Unlock helper-dependent functionality on Win11 Arm64 (but not Win10 Arm64).

Martijn Laan 1 year ago
parent
commit
5b8122ec70
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Projects/Src/Helper.pas

+ 2 - 3
Projects/Src/Helper.pas

@@ -112,11 +112,10 @@ var
 function GetHelperResourceName: String;
 begin
   {$R HelperEXEs.res}
-  case ProcessorArchitecture of
-    paX64: Result := 'HELPER_EXE_AMD64';
+  if paX64 in MachineTypesSupportedBySystem then
+    Result := 'HELPER_EXE_AMD64'
   else
     Result := '';
-  end;
 end;
 
 procedure SetHelperExeFilename(const Filename: String);