mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-11-04 21:13:33 +00:00
Don't hook OptiScaler's own XeFG as the game's
This commit is contained in:
1 parent
7f19872942
commit
1f94ff05e0
1 file changed
+4
@@ -771,6 +771,10 @@ void XeFGInputs::Hook(HMODULE libxessFg)
|
||||
if (State::Instance().activeFgInput != FGInput::XeFG)
|
||||
{
|
||||
#ifdef LOW_LATENCY_INPUTS
|
||||
// OptiScaler's own XeFG isn't the game's, a game without one finds OptiScaler's copy by name
|
||||
if (libxessFg == XeFGProxy::Module())
|
||||
return;
|
||||
|
||||
// One library, its trampoline is kept in the table
|
||||
if (_nativeHooks[0].target == nullptr)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user