mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
Don't coalesce PoolReserved areas.
Real hardware doesn't coalesce them.
This commit is contained in:
parent
f7aee889de
commit
74bb0c1a98
@ -249,7 +249,6 @@ int MemoryManager::PoolReserve(void** out_addr, VAddr virtual_addr, size_t size,
|
|||||||
new_vma.prot = MemoryProt::NoAccess;
|
new_vma.prot = MemoryProt::NoAccess;
|
||||||
new_vma.name = "anon";
|
new_vma.name = "anon";
|
||||||
new_vma.type = VMAType::PoolReserved;
|
new_vma.type = VMAType::PoolReserved;
|
||||||
MergeAdjacent(vma_map, new_vma_handle);
|
|
||||||
|
|
||||||
*out_addr = std::bit_cast<void*>(mapped_addr);
|
*out_addr = std::bit_cast<void*>(mapped_addr);
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user