diff options
author | sluicebox | 2020-01-05 00:44:08 -0800 |
---|---|---|
committer | sluicebox | 2020-01-05 00:45:25 -0800 |
commit | 3c8e5d75c532c298408b3a24658118e18fa3ec00 (patch) | |
tree | 64672f8c7dcc8ef6ef4a53020b6fe43291eae21e /engines | |
parent | 4182c50a92822fb21d2582e2293068777a7ccc15 (diff) | |
download | scummvm-rg350-3c8e5d75c532c298408b3a24658118e18fa3ec00.tar.gz scummvm-rg350-3c8e5d75c532c298408b3a24658118e18fa3ec00.tar.bz2 scummvm-rg350-3c8e5d75c532c298408b3a24658118e18fa3ec00.zip |
SCI32: Fix VMDPlayer not leaving last frame
Applies _leaveLastFrame logic from VMDPlayer::closeComposited() to
VMDPlayer::closeOverlay() where it was missing.
Fixes bug #11299 in GK2
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/video32.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp index 567660d97a..be62ba7882 100644 --- a/engines/sci/graphics/video32.cpp +++ b/engines/sci/graphics/video32.cpp @@ -936,7 +936,9 @@ void VMDPlayer::closeOverlay() { } #endif - g_sci->_gfxFrameout->frameOut(true, _drawRect); + if (!_leaveLastFrame && _leaveScreenBlack) { + g_sci->_gfxFrameout->frameOut(true, _drawRect); + } } void VMDPlayer::initComposited() { |