mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
Change error text in unmap memory function
This commit is contained in:
parent
6287085c1a
commit
2127b5f893
@ -399,7 +399,7 @@ s32 MemoryManager::UnmapMemoryImpl(VAddr virtual_addr, size_t size) {
|
|||||||
const auto it = FindVMA(virtual_addr);
|
const auto it = FindVMA(virtual_addr);
|
||||||
const auto& vma_base = it->second;
|
const auto& vma_base = it->second;
|
||||||
if (!vma_base.Contains(virtual_addr, size)) {
|
if (!vma_base.Contains(virtual_addr, size)) {
|
||||||
LOG_ERROR(Kernel_Vmm, "Attempted to unmap not mapped memory at {:#x}", virtual_addr);
|
LOG_ERROR(Kernel_Vmm, "Existing mapping does not contain requested unmap range");
|
||||||
return ORBIS_KERNEL_ERROR_EINVAL;
|
return ORBIS_KERNEL_ERROR_EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user