mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-18 11:13:57 +00:00
Add macOS support
This commit is contained in:
@@ -243,7 +243,7 @@ bool memory_manager::allocate_memory(const uint64_t address, const size_t size,
|
||||
return false;
|
||||
}
|
||||
|
||||
const auto entry = this->reserved_regions_.try_emplace(address, size).first;
|
||||
const auto entry = this->reserved_regions_.try_emplace(address, reserved_region{.length = size,}).first;
|
||||
|
||||
if (!reserve_only)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user