diff options
author | sluicebox | 2019-12-04 08:27:39 -0800 |
---|---|---|
committer | sluicebox | 2019-12-04 09:11:21 -0800 |
commit | da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b (patch) | |
tree | 404931df292c62d4c8d9fcd3fbffc909301e16f9 /engines/sci | |
parent | 310ea54e6dd74029bce1e0a022c6d1d175595500 (diff) | |
download | scummvm-rg350-da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b.tar.gz scummvm-rg350-da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b.tar.bz2 scummvm-rg350-da9c7d3d5bb5b64f026d20eabfa8f3cb4297867b.zip |
SCI32: Fix VMDPlayer yielding when frames skipped
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/video32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp index e6e594b211..7133be5bf4 100644 --- a/engines/sci/graphics/video32.cpp +++ b/engines/sci/graphics/video32.cpp @@ -731,7 +731,7 @@ VMDPlayer::EventFlags VMDPlayer::playUntilEvent(const EventFlags flags, const ui VMDPlayer::EventFlags VMDPlayer::checkForEvent(const EventFlags flags) { const int currentFrameNo = _decoder->getCurFrame(); - if (currentFrameNo == _yieldFrame) { + if (currentFrameNo >= _yieldFrame) { return kEventFlagEnd; } |