mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 12:34:37 +00:00
Remove phys_base modifications
This can be handled later. Doing the logic properly would likely take work in MergeAdjacent, and would probably need to be applied to normal dmem mappings too.
This commit is contained in:
parent
33cb81b9d1
commit
5a455c97de
@ -310,9 +310,6 @@ int MemoryManager::PoolCommit(VAddr virtual_addr, size_t size, MemoryProt prot)
|
|||||||
return ORBIS_KERNEL_ERROR_EINVAL;
|
return ORBIS_KERNEL_ERROR_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Before mapping, the reserved VMA should have it's physical base incremented.
|
|
||||||
vma.phys_base += size;
|
|
||||||
|
|
||||||
// Carve out the new VMA representing this mapping
|
// Carve out the new VMA representing this mapping
|
||||||
const auto new_vma_handle = CarveVMA(mapped_addr, size);
|
const auto new_vma_handle = CarveVMA(mapped_addr, size);
|
||||||
auto& new_vma = new_vma_handle->second;
|
auto& new_vma = new_vma_handle->second;
|
||||||
|
Loading…
Reference in New Issue
Block a user