driver cross-compilation

This commit is contained in:
2025-10-29 01:30:21 +02:00
parent 1a888aad7b
commit a22ab19a8c
15 changed files with 336 additions and 22 deletions

View File

@@ -98,7 +98,7 @@ IINIFile *CINIManager::ReadFile( const char *psz )
if (!pFile)
return NULL;
data = CUtlBuffer<char>(pFile->Size()+1);
pFile->Read(data.GetMemory(), pFile->Size());
uint32_t nSize = pFile->Read(data.GetMemory(), pFile->Size());
pFile->Close();
return ReadString(data.GetMemory());
@@ -259,8 +259,6 @@ IINIFile *CINIManager::ReadString( const char *psz )
pCurrentSectionData->m_eSectionType = SECTIONTYPE_STRING;
pCurrentSectionData->m_szKey = tokens[i];
i++;
if (i>=tokens.GetSize())
{