mirror of
https://github.com/a0rtega/pafish
synced 2024-11-25 07:40:56 +03:00
Merge branch 'dev-memorycheck-v2' of https://github.com/serializingme/pafish into serializingme-dev-memorycheck-v2
This commit is contained in:
commit
9ae8cf6a81
@ -156,6 +156,6 @@ int gensandbox_less_than_onegb() {
|
|||||||
statex.dwLength = sizeof (statex);
|
statex.dwLength = sizeof (statex);
|
||||||
|
|
||||||
GlobalMemoryStatusEx(&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