Tighten check to match only precisely renderdoc.dll, not just a suffix

This commit is contained in:
baldurk
2016-05-09 22:07:56 +02:00
parent dfbd22de65
commit a08eaad93e
+1 -1
View File
@@ -131,7 +131,7 @@ struct CachedHookData
// renderdoc.dll, or tries to load it.
if(strstr(lowername, "fraps") ||
strstr(lowername, "gameoverlayrenderer") ||
strstr(lowername, "renderdoc.dll"))
strstr(lowername, "renderdoc.dll") == lowername)
return;
// for safety (and because we don't need to), ignore these modules