From 01d0d1854f2b16e60b4efc9f84476c67305d8f7c Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Sat, 8 Jul 2023 13:20:30 +0200 Subject: [PATCH] Remove unnecessary FlushInstructionCache --- TitanEngine/TitanEngine.Debugger.DebugLoop.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp index 571a5d0..5c67b07 100644 --- a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp +++ b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp @@ -654,7 +654,6 @@ __declspec(dllexport) void TITCALL DebugLoop() ReadProcessMemory(dbgProcessInformation.hProcess, csp, &data, sizeof(ULONG_PTR), 0); data &= ~UE_TRAP_FLAG; WriteProcessMemory(dbgProcessInformation.hProcess, csp, &data, sizeof(ULONG_PTR), 0); - FlushInstructionCache(dbgProcessInformation.hProcess, NULL, 0); } if(ResetBPX) //restore 'normal' breakpoint {