Fix random crash

This commit is contained in:
Dima353
2026-07-23 21:17:36 +03:00
parent c6187f25c1
commit f0a883de3e
+3 -1
View File
@@ -572,7 +572,9 @@ psInitialize(void)
#elif defined (__SWITCH__)
svcGetInfo(&_dwMemAvailPhys, InfoType_UsedMemorySize, CUR_PROCESS_HANDLE, 0);
debug("Physical memory size %llu\n", _dwMemAvailPhys);
#elif !defined(PSP2)
#elif defined(PSP2)
_dwMemAvailPhys = 140 * 1024 * 1024;
#else
#ifndef __APPLE__
struct sysinfo systemInfo;
sysinfo(&systemInfo);