1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 04:20:00 +00:00

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] ) if ( mp3Stream[nStream] )
{ {
AIL_set_stream_loop_count(mp3Stream[nStream], 1); AIL_set_stream_loop_count(mp3Stream[nStream], 1);
AIL_set_stream_loop_count(mp3Stream[nStream], nStreamLoopedFlag[nStream] ? 0 : 1); AIL_set_stream_ms_position(mp3Stream[nStream], position);
nStreamLoopedFlag[nStream] = true;
AIL_pause_stream(mp3Stream[nStream], 0); AIL_pause_stream(mp3Stream[nStream], 0);
return true; return true;
} }
@ -2332,4 +2331,4 @@ cSampleManager::InitialiseSampleBanks(void)
return true; return true;
} }
#endif #endif