Prevent the plugin from hooking FFBPluginGUI.exe
This commit is contained in:
parent
887749c7ca
commit
765e861376
@ -2618,6 +2618,12 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReasonForCall, LPVOID lpReserved)
|
|||||||
originalmmsystemGetVersion = GetProcAddress(gl_hOriginalDll, "mmsystemGetVersion");
|
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...");
|
hlp.log("creating ffb loop thread...");
|
||||||
CreateFFBLoopThread();
|
CreateFFBLoopThread();
|
||||||
if (BeepWhenHook == 1)
|
if (BeepWhenHook == 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user