mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 04:35:56 +00:00
add more info on allocate error
This commit is contained in:
parent
3f92436a55
commit
e565f998ba
1 changed files with 4 additions and 1 deletions
|
@ -214,7 +214,10 @@ PAddr MemoryManager::Allocate(PAddr search_start, PAddr search_end, u64 size, u6
|
|||
|
||||
if (dmem_area == dmem_map.end()) {
|
||||
// There are no suitable mappings in this range
|
||||
LOG_ERROR(Kernel_Vmm, "Unable to find free direct memory area: size = {:#x}", size);
|
||||
auto exceed = mapping_end - search_end;
|
||||
LOG_ERROR(Kernel_Vmm,
|
||||
"Unable to find free direct memory area: size = {:#x}, exceed = {:#x}", size,
|
||||
exceed);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue