Merge pull request #384 from silverhadch/rubicon

Increase stream buffer size from 255 to 1024 to prevent overflow
This commit is contained in:
Tropical 2026-04-01 08:09:13 -05:00 committed by GitHub
commit 1451a991b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
};
};