[PATCH] kernelbase: Fix GlobalMemoryStatusEx regression.

Zhiyi Zhang zzhang at codeweavers.com
Fri Dec 6 00:31:52 CST 2019


> status->ullTotalPageFile = (perf_info.TotalCommitLimit + 1)  * (ULONGLONG) basic_info.PageSize; /* Titan Quest refuses to run if TotalPageFile <= TotalPhys */
> +    status->ullAvailPageFile = (status->ullTotalPageFile - perf_info.TotalCommittedPages - perf_info.AvailablePages) * (ULONGLONG) basic_info.PageSize;


ullAvailPageFile got basic_info.PageSize multiplied twice, pretty sure that's wrong.

On 12/6/19 12:29 PM, hari.mail wrote:
> Empty Message




More information about the wine-devel mailing list