1
0
mirror of synced 2024-11-24 06:50:11 +01:00

Prevent the plugin from hooking FFBPluginGUI.exe

This commit is contained in:
pinkimo 2019-11-03 04:54:38 +01:00
parent 887749c7ca
commit 765e861376

View File

@ -2618,6 +2618,12 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReasonForCall, LPVOID lpReserved)
originalmmsystemGetVersion = GetProcAddress(gl_hOriginalDll, "mmsystemGetVersion");
}
if (processName.find("FFBPluginGUI.exe") != std::string::npos)
{
hlp.log("hooked FFBPluginGUI.exe, aborting");
break;
}
hlp.log("creating ffb loop thread...");
CreateFFBLoopThread();
if (BeepWhenHook == 1)