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

View File

@@ -414,9 +414,10 @@ s32 MemoryManager::MapMemory(void** out_addr, VAddr virtual_addr, u64 size, Memo
rasterizer->MapMemory(mapped_addr, size);
}
*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;
}