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
@@ -161,22 +161,3 @@ LPCWSTR CONFIG_FILE = CONFIG_FILE_STRING.c_str();
// delete[] hModules;
// return false;
//}
bool hasConflicts()
{
puts("[ShaderPatch] Checking for conflicts...");
if (GetModuleHandleW(L"DivaGL.dva") != NULL)
{
// detected DivaGL
puts("[ShaderPatch] Detected DivaGL! Quitting!");
#ifdef _DEBUG
MessageBoxExW(NULL, L"Detected DivaGL! Quitting!\n", L"ShaderPatch", MB_OK, 0);
#endif
return true;
}
puts("[ShaderPatch] No conflicts found.");
return false;
}