mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
amd64: fix multithread, fix vgui, fix physmodels
This commit is contained in:
@@ -1804,7 +1804,7 @@ const char *CBaseFileSystem::GetWritePath( const char *pFilename, const char *pa
|
||||
//-----------------------------------------------------------------------------
|
||||
// Reads/writes files to utlbuffers. Attempts alignment fixups for optimal read
|
||||
//-----------------------------------------------------------------------------
|
||||
CThreadLocal<char *> g_pszReadFilename;
|
||||
CTHREADLOCAL(char *) g_pszReadFilename;
|
||||
bool CBaseFileSystem::ReadToBuffer( FileHandle_t fp, CUtlBuffer &buf, int nMaxBytes, FSAllocFunc_t pfnAlloc )
|
||||
{
|
||||
SetBufferSize( fp, 0 ); // TODO: what if it's a pack file? restore buffer size?
|
||||
|
||||
Reference in New Issue
Block a user