Use standard buffer types for in-memory TPD data

This commit is contained in:
notmatthewbeshay
2026-03-10 19:56:26 +11:00
parent 37aa3463be
commit 5f991ccd6a
8 changed files with 28 additions and 22 deletions

View File

@@ -1275,8 +1275,8 @@ void CScene_MultiGameJoinLoad::UpdateGamesList()
if(tp==NULL)
{
DWORD dwBytes=0;
PBYTE pbData=NULL;
unsigned int dwBytes=0;
std::uint8_t *pbData=NULL;
app.GetTPD(sessionInfo->data.texturePackParentId,&pbData,&dwBytes);
// is it in the tpd data ?
@@ -1744,8 +1744,8 @@ HRESULT CScene_MultiGameJoinLoad::OnTimer( XUIMessageTimer *pTimer, BOOL& bHandl
{
if(m_iConfigA[i]!=-1)
{
DWORD dwBytes=0;
PBYTE pbData=NULL;
unsigned int dwBytes=0;
std::uint8_t *pbData=NULL;
//app.DebugPrintf("Retrieving iConfig %d from TPD\n",m_iConfigA[i]);
app.GetTPD(m_iConfigA[i],&pbData,&dwBytes);