mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Common: namespace MemoryUtil
This commit is contained in:
parent
1ab99ee22c
commit
e01c143379
15 changed files with 50 additions and 40 deletions
|
@ -7,6 +7,9 @@
|
|||
#include <cstddef>
|
||||
#include <string>
|
||||
|
||||
namespace Common
|
||||
{
|
||||
|
||||
void* AllocateExecutableMemory(size_t size, bool low = true);
|
||||
void* AllocateMemoryPages(size_t size);
|
||||
void FreeMemoryPages(void* ptr, size_t size);
|
||||
|
@ -25,3 +28,5 @@ inline int GetPageSize()
|
|||
{
|
||||
return 4096;
|
||||
}
|
||||
|
||||
} // namespace Common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue