fixes issue #7

RemoveMemoryBPX bug
This commit is contained in:
cypherpunk 2013-11-30 01:26:15 +01:00
parent 8ec098dcf1
commit 592f618a9c
1 changed files with 5 additions and 1 deletions

View File

@ -13537,7 +13537,11 @@ __declspec(dllexport) bool TITCALL RemoveMemoryBPX(ULONG_PTR MemoryStart, DWORD
for(i = 0; i < BreakPointSetCount; i++)
{
if(BreakPointBuffer[i].BreakPointAddress == MemoryStart && BreakPointBuffer[i].BreakPointType == UE_MEMORY)
if(BreakPointBuffer[i].BreakPointAddress == MemoryStart &&
(BreakPointBuffer[i].BreakPointType == UE_MEMORY ||
BreakPointBuffer[i].BreakPointType == UE_MEMORY_READ ||
BreakPointBuffer[i].BreakPointType == UE_MEMORY_WRITE)
)
{
if(i - 1 == BreakPointSetCount)
{