mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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))
|
if (mbi.Protect & (PAGE_GUARD | PAGE_NOACCESS))
|
||||||
b = TRUE;
|
b = TRUE;
|
||||||
|
|
||||||
if (!b)
|
return b;
|
||||||
return b;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user