print error code
This commit is contained in:
parent
4979349a56
commit
88b2d85a75
@ -373,7 +373,7 @@ void TextHook::RemoveReadCode()
|
||||
void TextHook::ClearHook()
|
||||
{
|
||||
WaitForSingleObject(hmMutex, 0);
|
||||
ConsoleOutput("NextHooker:RemoveHook: enter");
|
||||
if (hook_name) ConsoleOutput(("NextHooker: removing hook: " + std::string(hook_name)).c_str());
|
||||
if (hp.type & DIRECT_READ) RemoveReadCode();
|
||||
else RemoveHookCode();
|
||||
NotifyHookRemove(hp.address);
|
||||
|
Loading…
Reference in New Issue
Block a user