fix sound not working that happens randomly

This commit is contained in:
izzy2lost
2026-01-18 10:52:40 -05:00
parent bb501b99dc
commit 62e6efd4f7
+2
View File
@@ -2225,6 +2225,7 @@ bool CModel3::StartThreads(void)
// Reset thread flags
pauseThreads = false;
stopThreads = false;
sndBrdWakeNotify = false;
// Create PPC main board thread, if multi-threading GPU
if (m_gpuMultiThreaded)
@@ -2254,6 +2255,7 @@ bool CModel3::StartThreads(void)
if (!syncSndBrdThread)
{
SetAudioCallback(AudioCallback, this);
WakeSoundBoardThread(); // kick once in case the audio callback is delayed
}
startedThreads = true;