Merge branch 'upstream-KWSys' into update-kwsys

# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-10-20 (a3f3d4de)
This commit is contained in:
Brad King 2025-10-20 13:50:56 -04:00
commit 9f0e0042dc

View File

@ -4131,6 +4131,10 @@ bool SystemInformationImplementation::QueryWindowsMemory()
this->TotalPhysicalMemory = tp >> 10 >> 10;
this->AvailableVirtualMemory = av >> 10 >> 10;
this->AvailablePhysicalMemory = ap >> 10 >> 10;
// The virtual WinAPI memory contains both physical memory and page file.
this->TotalVirtualMemory -= this->TotalPhysicalMemory;
this->AvailableVirtualMemory -= this->AvailablePhysicalMemory;
return true;
#else
return false;