Somewhat improved error checking in MemArena.

This commit is contained in:
Henrik Rydgård committed 2021-07-07 19:01:42 +02:00
1 parent 25cfb92a9c
commit 6c51dabe9a
6 files changed
+25 -12

No files matched your search

+4 -1
View File
@@ -213,7 +213,10 @@ bool MemoryMap_Setup(u32 flags) {
}
// Grab some pagefile backed memory out of the void ...
g_arena.GrabLowMemSpace(total_mem);
if (!g_arena.GrabMemSpace(total_mem)) {
// It'll already have logged.
return false;
}
#endif
#if !PPSSPP_PLATFORM(ANDROID)