diff options
Diffstat (limited to 'sword1/animation.cpp')
-rw-r--r-- | sword1/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword1/animation.cpp b/sword1/animation.cpp index 1533dd5e74..e20492ca0d 100644 --- a/sword1/animation.cpp +++ b/sword1/animation.cpp @@ -313,7 +313,7 @@ bool AnimationState::decodeFrame() { _scr->plotYUV(lut, sequence_i->width, sequence_i->height, info->display_fbuf->buf); if (bgSoundStream) { - while ((bgSoundStream->getSamplesPlayed()*12/bgSoundStream->getRate()) < framenum+1); + while ((bgSoundStream->getSamplesPlayed()*12/bgSoundStream->getRate()) < framenum+1) _sys->delay_msecs(10); } else { ticks += 83; @@ -334,7 +334,7 @@ bool AnimationState::decodeFrame() { plotYUV(lookup2, sequence_i->width, sequence_i->height, info->display_fbuf->buf); if (bgSoundStream) { - while ((bgSoundStream->getSamplesPlayed()*12/bgSoundStream->getRate()) < framenum+1); + while ((bgSoundStream->getSamplesPlayed()*12/bgSoundStream->getRate()) < framenum+1) _sys->delay_msecs(10); } else { ticks += 83; |