mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 12:51:03 +00:00
Avoid applying hooks to powrprof.dll as it causes a crash.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user