From db1a18119390c25dbc15d3ec7e505760c4008326 Mon Sep 17 00:00:00 2001 From: Herzeh Date: Fri, 11 Dec 2015 21:34:55 +0100 Subject: [PATCH] Changed (1 << 8) to UE_TRAP_FLAG which already exists --- TitanEngine/TitanEngine.Debugger.DebugLoop.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } }