chore: make allocating redirect entry work with ptr directly

This commit is contained in:
Jan committed 2025-06-19 18:59:25 +01:00
1 parent 3c16da006c
commit 788bf1cc5d
4 files changed
+7 -11

No files matched your search

@@ -155,7 +155,7 @@ void ContentLoader::LoadXAssetArray(const bool atStreamStart, const size_t count
{
fill.Fill(varXAsset[index].type, 8u * index);
fill.FillPtr(varXAsset[index].header.data, 8u * index + 4u);
fill.InsertPointerRedirect(m_stream.AllocRedirectEntry(varXAsset[index].header.data), 8u * index + 4u);
fill.InsertPointerRedirect(m_stream.AllocRedirectEntry(&varXAsset[index].header.data), 8u * index + 4u);
}
#endif
}