Update and move DivaGL plugin conflict checks to launcher

This commit is contained in:
nastys
2024-04-10 20:00:12 +02:00
parent c6ceb61636
commit be29f090f3
7 changed files with 18 additions and 56 deletions
@@ -294,12 +294,6 @@ BOOL APIENTRY DllMain(HMODULE hModule,
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
if (hasConflicts())
{
// detected an incompatible plugin (i.e. DivaGL)
return TRUE;
}
// install a thunk to hook
InjectCode((void*)0x1405e5991, { 0x48, 0x83, 0xec, 0x28 }); // SUB RSP, 0x28
InjectCode((void*)0x1405e5995, { 0xe8, 0x56, 0xe8, 0xb9, 0xff }); // CALL 0x1401841f0