Remove unnecessary FlushInstructionCache

This commit is contained in:
Duncan Ogilvie 2023-07-08 13:20:30 +02:00
parent 490ce02fb3
commit 01d0d1854f
1 changed files with 0 additions and 1 deletions

View File

@ -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
{