System: Remove redundant remap

This commit is contained in:
Stenzek
2024-08-04 20:57:50 +10:00
parent 02fbfae6a0
commit c3bf267936
4 changed files with 19 additions and 19 deletions

View File

@@ -113,12 +113,12 @@ enum : u32
static constexpr size_t FASTMEM_ARENA_SIZE = UINT64_C(0x100000000);
#endif
bool AllocateMemory(Error* error);
bool AllocateMemory(bool export_shared_memory, Error* error);
void ReleaseMemory();
/// Frees and re-allocates the memory map for the process.
/// This should be called when shared memory exports are enabled.
bool ReallocateMemoryMap(Error* error);
bool ReallocateMemoryMap(bool export_shared_memory, Error* error);
/// Cleans up/deletes the shared memory object for this process.
/// Should be called when the process crashes, to avoid leaking.