DivaGL detection, Ada Lovelace "support"

This commit is contained in:
nastys
2024-03-26 00:25:30 +01:00
parent 360305357b
commit 2c10f27ab0
7 changed files with 164 additions and 106 deletions
@@ -380,6 +380,13 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
if (GetModuleHandleW(L"DivaGL.dva") != NULL)
{
// detected DivaGL
printf("[Novidia] Detected DivaGL! Quitting!\n");
return TRUE;
}
loadConfig();
if (!disable_amd_check)