Don't use AntiHooking.dll or use D3DX9 on ARM64

This commit is contained in:
Cameron Gutman
2020-12-12 13:59:47 -06:00
parent 1231f3eeb1
commit 59a73817c8
6 changed files with 50 additions and 21 deletions

View File

@@ -289,9 +289,10 @@ int main(int argc, char *argv[])
SetUnhandledExceptionFilter(UnhandledExceptionHandler);
#endif
#if defined(Q_OS_WIN32)
#if defined(Q_OS_WIN32) && defined(Q_PROCESSOR_X86)
// Force AntiHooking.dll to be statically imported and loaded
// by ntdll by calling a dummy function.
// by ntdll on x86/x64 platforms by calling a dummy function.
// AntiHooking.dll is not currently built for ARM64.
AntiHookingDummyImport();
#elif defined(Q_OS_LINUX)
// Force libssl.so to be directly linked to our binary, so