aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
diff options
context:
space:
mode:
authorKyle Gospodnetich <KyleGospo@users.noreply.github.com>2022-01-14 18:38:26 -0800
committerGitHub <noreply@github.com>2022-01-14 23:38:26 -0300
commit0fdbe2237df643b0327a0906e8d399a6e458ae87 (patch)
tree5fc9420ac6f82764a8059c242cfa9f8d7ddfb63a /NorthstarDedicatedTest/dllmain.cpp
parente272e2b2d2898029c4fd2c285db24e2d4b70a0f2 (diff)
downloadNorthstarLauncher-0fdbe2237df643b0327a0906e8d399a6e458ae87.tar.gz
NorthstarLauncher-0fdbe2237df643b0327a0906e8d399a6e458ae87.zip
LatencyFleX Implementation (#41)
* Adds LatencyFleX, an open source and vendor agnostic input latency reduction technology similar to Nvidia's Reflex. Currently only works on Linux via Wine/Proton, but future versions may support Windows as well. Falls back to doing nothing if LatencyFleX isn't available. See here for more information: https://ishitatsuyuki.github.io/post/latencyflex/ * Add the ability to toggle LatencyFlex on or off with a cvar.
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r--NorthstarDedicatedTest/dllmain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp
index eb4b8936..fa8e6463 100644
--- a/NorthstarDedicatedTest/dllmain.cpp
+++ b/NorthstarDedicatedTest/dllmain.cpp
@@ -21,6 +21,7 @@
#include "securitypatches.h"
#include "miscserverscript.h"
#include "clientauthhooks.h"
+#include "latencyflex.h"
#include "scriptbrowserhooks.h"
#include "scriptmainmenupromos.h"
#include "miscclientfixes.h"
@@ -109,6 +110,7 @@ bool InitialiseNorthstar()
AddDllLoadCallback("client.dll", InitialiseScriptServerBrowser);
AddDllLoadCallback("localize.dll", InitialiseModLocalisation);
AddDllLoadCallback("engine.dll", InitialiseClientAuthHooks);
+ AddDllLoadCallback("client.dll", InitialiseLatencyFleX);
AddDllLoadCallback("engine.dll", InitialiseScriptExternalBrowserHooks);
AddDllLoadCallback("client.dll", InitialiseScriptMainMenuPromos);
AddDllLoadCallback("client.dll", InitialiseMiscClientFixes);