diff --git a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp index c694dcf..9b93f34 100644 --- a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp +++ b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp @@ -661,7 +661,7 @@ __declspec(dllexport) void TITCALL DebugLoop() else { GetThreadContext(hActiveThread, &myDBGContext); - myDBGContext.EFlags &= ~(1 << 8); + myDBGContext.EFlags &= ~UE_TRAP_FLAG; SetThreadContext(hActiveThread, &myDBGContext); } } @@ -689,7 +689,7 @@ __declspec(dllexport) void TITCALL DebugLoop() else { GetThreadContext(hActiveThread, &myDBGContext); - myDBGContext.EFlags &= ~(1 << 8); + myDBGContext.EFlags &= ~UE_TRAP_FLAG; SetThreadContext(hActiveThread, &myDBGContext); } } @@ -717,7 +717,7 @@ __declspec(dllexport) void TITCALL DebugLoop() else { GetThreadContext(hActiveThread, &myDBGContext); - myDBGContext.EFlags &= ~(1 << 8); + myDBGContext.EFlags &= ~UE_TRAP_FLAG; SetThreadContext(hActiveThread, &myDBGContext); } } @@ -745,7 +745,7 @@ __declspec(dllexport) void TITCALL DebugLoop() else { GetThreadContext(hActiveThread, &myDBGContext); - myDBGContext.EFlags &= ~(1 << 8); + myDBGContext.EFlags &= ~UE_TRAP_FLAG; SetThreadContext(hActiveThread, &myDBGContext); } }