Skip to content

Commit

Permalink
do not remove base flag (CONTEXT_AMD64/CONTEXT_i386)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia committed Feb 10, 2015
1 parent a941098 commit a7a197a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TitanHide/hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static NTSTATUS NTAPI HookNtSetContextThread(
{
ProbeForWrite(&Context->ContextFlags, sizeof(ULONG), 1);
OriginalContextFlags = Context->ContextFlags;
Context->ContextFlags &= ~CONTEXT_DEBUG_REGISTERS;
Context->ContextFlags &= ~0x10; //CONTEXT_DEBUG_REGISTERS ^ CONTEXT_AMD64/CONTEXT_i386
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
Expand Down

0 comments on commit a7a197a

Please sign in to comment.