diff --git a/GleeBug/Debugger.Process.Breakpoint.cpp b/GleeBug/Debugger.Process.Breakpoint.cpp index 55ff9ee..344631d 100644 --- a/GleeBug/Debugger.Process.Breakpoint.cpp +++ b/GleeBug/Debugger.Process.Breakpoint.cpp @@ -381,7 +381,7 @@ namespace GleeBug if (data.Refcount) { //TODO: properly determine the new protection flag - if (data.Type & ~uint32(info.type)) + if (data.Type & ~uint32(info.internal.memory.type)) data.NewProtect = data.OldProtect | PAGE_GUARD; Protect = data.NewProtect; }