1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-19 12:41:00 +00:00

Correct frontend_win32_get_mem_used

This commit is contained in:
twinaphex 2016-06-12 21:51:08 +02:00
parent c50aa6f088
commit 3ca57ddd84

@ -312,7 +312,7 @@ static uint64_t frontend_win32_get_mem_used(void)
MEMORYSTATUSEX mem_info;
mem_info.dwLength = sizeof(MEMORYSTATUSEX);
GlobalMemoryStatusEx(&mem_info);
return mem_info.ullAvailPhys;
return ((frontend_win32_get_mem_total() - mem_info.ullAvailPhys));
}
frontend_ctx_driver_t frontend_ctx_win32 = {