Use standard buffer types for TPD extraction

This commit is contained in:
notmatthewbeshay committed 2026-03-11 15:38:42 +11:00
1 parent 5f991ccd6a
commit eb52911d25
9 files changed
+32 -32

No files matched your search

@@ -1280,7 +1280,7 @@ void CScene_MultiGameJoinLoad::UpdateGamesList()
app.GetTPD(sessionInfo->data.texturePackParentId,&pbData,&dwBytes);
// is it in the tpd data ?
DWORD tpdImageBytes = 0;
unsigned int tpdImageBytes = 0;
app.GetFileFromTPD(eTPDFileType_Icon,pbData,dwBytes,&imageData,&tpdImageBytes );
imageBytes = static_cast<std::uint32_t>(tpdImageBytes);
if(imageBytes > 0 && imageData)