mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix util_is_bad_read_ptr
This commit is contained in:
parent
30023e00a8
commit
4da01c3683
@ -29,8 +29,7 @@ BOOL util_is_bad_read_ptr(void* p)
|
||||
if (mbi.Protect & (PAGE_GUARD | PAGE_NOACCESS))
|
||||
b = TRUE;
|
||||
|
||||
if (!b)
|
||||
return b;
|
||||
return b;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user