Only use TRACK_ALLOC for non-reserved mappings (#3188)

This commit is contained in:
Stephen Miller 2025-07-03 17:01:07 -05:00 committed by GitHub
parent b22da77f9a
commit a050c9d65b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
} }