mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Somewhat improved error checking in MemArena.
This commit is contained in:
1 parent
25cfb92a9c
commit
6c51dabe9a
6 files changed
+25
-12
No files matched your search
+4
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user