1
0
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:
FunkyFr3sh 2023-10-20 14:51:19 +02:00
parent 30023e00a8
commit 4da01c3683

View File

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