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:
Herman S.
2026-02-17 15:46:27 +09:00
294 changed files with 165264 additions and 173899 deletions

View File

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