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

This commit is contained in:
Stephen Miller authored and GitHub committed 2025-07-04 01:01:07 +03:00
1 parent b22da77f9a
commit a050c9d65b
1 file changed
+2 -1
+2 -1
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;
}