mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-12 04:35:56 +00:00
Only use TRACK_ALLOC for non-reserved mappings
This commit is contained in:
parent
5789fd881c
commit
b0b01b0865
1 changed files with 2 additions and 1 deletions
|
@ -414,9 +414,10 @@ s32 MemoryManager::MapMemory(void** out_addr, VAddr virtual_addr, u64 size, Memo
|
||||||
rasterizer->MapMemory(mapped_addr, size);
|
rasterizer->MapMemory(mapped_addr, size);
|
||||||
}
|
}
|
||||||
*out_addr = impl.Map(mapped_addr, size, alignment, phys_addr, is_exec);
|
*out_addr = impl.Map(mapped_addr, size, alignment, phys_addr, is_exec);
|
||||||
}
|
|
||||||
|
|
||||||
TRACK_ALLOC(*out_addr, size, "VMEM");
|
TRACK_ALLOC(*out_addr, size, "VMEM");
|
||||||
|
}
|
||||||
|
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue