Fix build

This commit is contained in:
erorcun 2020-10-18 20:09:55 +03:00
parent a6aa782d6d
commit 0eb4aca1d6

View File

@ -2176,8 +2176,7 @@ cSampleManager::StartStreamedFile(uint8 nFile, uint32 nPos, uint8 nStream)
if ( mp3Stream[nStream] )
{
AIL_set_stream_loop_count(mp3Stream[nStream], 1);
AIL_set_stream_loop_count(mp3Stream[nStream], nStreamLoopedFlag[nStream] ? 0 : 1);
nStreamLoopedFlag[nStream] = true;
AIL_set_stream_ms_position(mp3Stream[nStream], position);
AIL_pause_stream(mp3Stream[nStream], 0);
return true;
}
@ -2332,4 +2331,4 @@ cSampleManager::InitialiseSampleBanks(void)
return true;
}
#endif
#endif