Merge commit 'f2fabfdf0' into canary_experimental
Sync changes from master up to before the recent GPU changes, those will be merged later
This commit is contained in:
@@ -198,8 +198,7 @@ bool QueryProtect(void* base_address, size_t& length, PageAccess& access_out) {
|
||||
0 /* MemoryBasicInformation*/, &info, length, &ResultLength);
|
||||
SIZE_T result = query_result >= 0 ? ResultLength : 0;
|
||||
#else
|
||||
SIZE_T result = VirtualQuery(base_address, &info, length);
|
||||
|
||||
SIZE_T result = VirtualQuery(base_address, &info, sizeof(info));
|
||||
#endif
|
||||
if (!result) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user