Changed (1 << 8) to UE_TRAP_FLAG which already exists

This commit is contained in:
Herzeh 2015-12-11 21:34:55 +01:00
parent 92f5d48c85
commit db1a181193
1 changed files with 4 additions and 4 deletions

View File

@ -661,7 +661,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
else else
{ {
GetThreadContext(hActiveThread, &myDBGContext); GetThreadContext(hActiveThread, &myDBGContext);
myDBGContext.EFlags &= ~(1 << 8); myDBGContext.EFlags &= ~UE_TRAP_FLAG;
SetThreadContext(hActiveThread, &myDBGContext); SetThreadContext(hActiveThread, &myDBGContext);
} }
} }
@ -689,7 +689,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
else else
{ {
GetThreadContext(hActiveThread, &myDBGContext); GetThreadContext(hActiveThread, &myDBGContext);
myDBGContext.EFlags &= ~(1 << 8); myDBGContext.EFlags &= ~UE_TRAP_FLAG;
SetThreadContext(hActiveThread, &myDBGContext); SetThreadContext(hActiveThread, &myDBGContext);
} }
} }
@ -717,7 +717,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
else else
{ {
GetThreadContext(hActiveThread, &myDBGContext); GetThreadContext(hActiveThread, &myDBGContext);
myDBGContext.EFlags &= ~(1 << 8); myDBGContext.EFlags &= ~UE_TRAP_FLAG;
SetThreadContext(hActiveThread, &myDBGContext); SetThreadContext(hActiveThread, &myDBGContext);
} }
} }
@ -745,7 +745,7 @@ __declspec(dllexport) void TITCALL DebugLoop()
else else
{ {
GetThreadContext(hActiveThread, &myDBGContext); GetThreadContext(hActiveThread, &myDBGContext);
myDBGContext.EFlags &= ~(1 << 8); myDBGContext.EFlags &= ~UE_TRAP_FLAG;
SetThreadContext(hActiveThread, &myDBGContext); SetThreadContext(hActiveThread, &myDBGContext);
} }
} }