mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
MemoryUtil: get executable pages near static data
and clean up a bit.
This commit is contained in:
parent
a0597f0d62
commit
d4538c762f
9 changed files with 33 additions and 114 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
void* AllocateExecutableMemory(size_t size, bool low = true);
|
||||
void* AllocateExecutableMemory(size_t size, void* map_hint);
|
||||
void* AllocateMemoryPages(size_t size);
|
||||
void FreeMemoryPages(void* ptr, size_t size);
|
||||
void* AllocateAlignedMemory(size_t size,size_t alignment);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue