[Android] Make sure to unallocate the correct memory size in MemArena.
This commit is contained in:
parent
82e9bed20e
commit
367f294ed2
|
@ -152,7 +152,7 @@ u8* MemArena::Find4GBBase()
|
||||||
PanicAlert("Failed to map 1 GB of memory space: %s", strerror(errno));
|
PanicAlert("Failed to map 1 GB of memory space: %s", strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
munmap(base, 0x31000000);
|
munmap(base, MemSize);
|
||||||
return static_cast<u8*>(base);
|
return static_cast<u8*>(base);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue