mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Correct frontend_win32_get_mem_used
This commit is contained in:
parent
c50aa6f088
commit
3ca57ddd84
1 changed files with 1 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue