Increase stream buffer size from 255 to 1024 to prevent overflow

This commit is contained in:
Hadi Chokr 2026-04-01 08:48:55 +02:00
parent 5e7cdabea3
commit c31b086791

View file

@ -169,7 +169,7 @@ private:
C4JThread* m_openStreamThread;
static int OpenStreamThreadProc(void* lpParameter);
char m_szStreamName[255];
char m_szStreamName[1024];
int CurrentSoundsPlaying[static_cast<int>(eSoundType_MAX) +
static_cast<int>(eSFX_MAX)];
@ -179,4 +179,4 @@ private:
int m_iStream_End_Min, m_iStream_End_Max;
int m_iStream_CD_1;
bool* m_bHeardTrackA;
};
};