mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-27 03:39:57 +00:00
[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));
|
||||
return 0;
|
||||
}
|
||||
munmap(base, 0x31000000);
|
||||
munmap(base, MemSize);
|
||||
return static_cast<u8*>(base);
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user