Kill native AL2 if SL Reflex is hooked

Not perfect but will have to do until low latency input and output are done
This commit is contained in:
FakeMichau
2026-08-22 00:03:12 +02:00
parent e61531bad5
commit d414d50ec9
+10
View File
@@ -7,6 +7,7 @@
#include <proxies/Ntdll_Proxy.h>
#include <low_latency/input/input_antilag2.h>
#include <misc/IdentifyGpu.h>
#include "Streamline_Hooks.h"
#pragma endregion
@@ -192,6 +193,15 @@ HRESULT STDMETHODCALLTYPE Amdxc64Hooks::hkAmdExtD3DCreateInterface(IUnknown* pOu
LOG_INFO("Providing the game with AL2 proxy, AL2 inputs should be avaliable");
return S_OK;
}
#else
else if (riid == IID_IAmdExtAntiLagApi && giveGameAl2Proxy && StreamlineHooks::isReflexHooked())
{
*ppvObject = nullptr;
LOG_INFO("Killing native AL2");
return S_OK;
}
#endif