Avoid applying hooks to powrprof.dll as it causes a crash.

This commit is contained in:
valeriog
2014-10-14 17:46:59 +02:00
parent 86a87f091c
commit fc4ba7ae81
+1
View File
@@ -118,6 +118,7 @@ struct CachedHookData
// for safety (and because we don't need to), ignore these modules
if(!_stricmp(modName, "kernel32.dll") ||
!_stricmp(modName, "powrprof.dll") ||
strstr(lowername, "msvcr") == lowername ||
strstr(lowername, "msvcp") == lowername)
return;