aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-14 02:12:55 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-14 02:12:55 +0000
commitda66797dd1fb4d9937f05cfbbc24c71a397e2c33 (patch)
tree1a370e677761ab10d63f9a40a4a96b863c112855
parent8ee27654d4f8c70206983164d2c4ac692ebed5de (diff)
downloadNorthstarLauncher-da66797dd1fb4d9937f05cfbbc24c71a397e2c33.tar.gz
NorthstarLauncher-da66797dd1fb4d9937f05cfbbc24c71a397e2c33.zip
automatically apply openssl environment fix for 11th gen intel cpus
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index 83e78f4e..856b2992 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -72,6 +72,7 @@ bool InitialiseNorthstar()
initialised = true;
+ SetEnvironmentVariableA("OPENSSL_ia32cap", "~0x200000200000000");
curl_global_init_mem(CURL_GLOBAL_DEFAULT, _malloc_base, _free_base, _realloc_base, _strdup_base, _calloc_base);
InitialiseLogging();