diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 9ce58520..9326ccaa 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -96,7 +96,7 @@ int MemoryManager::Reserve(void** out_addr, VAddr virtual_addr, size_t size, Mem u64 alignment) { std::scoped_lock lk{mutex}; - virtual_addr = (virtual_addr == 0) ? impl.SystemReservedVirtualBase() : virtual_addr; + virtual_addr = (virtual_addr == 0) ? impl.SystemManagedVirtualBase() : virtual_addr; alignment = alignment > 0 ? alignment : 16_KB; VAddr mapped_addr = alignment > 0 ? Common::AlignUp(virtual_addr, alignment) : virtual_addr;