Use standard buffer types for TPD extraction

This commit is contained in:
notmatthewbeshay
2026-03-11 15:38:42 +11:00
parent 5f991ccd6a
commit eb52911d25
9 changed files with 32 additions and 32 deletions
@@ -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)