mirror of
https://github.com/a0rtega/pafish
synced 2024-11-21 22:01:56 +03:00
Changed check from available to total physical memory.
This commit is contained in:
parent
01ac4d2153
commit
7c591a0b2a
@ -156,6 +156,6 @@ int gensandbox_less_than_onegb() {
|
||||
statex.dwLength = sizeof (statex);
|
||||
|
||||
GlobalMemoryStatusEx(&statex);
|
||||
return (statex.ullAvailPhys/1024) < 1048576 ? TRUE : FALSE;
|
||||
return (statex.ullTotalPhys/1024) < 1048576 ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user