Merge branch 'dev-memorycheck-v2' of https://github.com/serializingme/pafish into serializingme-dev-memorycheck-v2

This commit is contained in:
Alberto Ortega 2015-05-30 20:09:21 +02:00
commit 9ae8cf6a81

View File

@ -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;
} }