[Scummvm-git-logs] scummvm master -> 3c8e5d75c532c298408b3a24658118e18fa3ec00
sluicebox
22204938+sluicebox at users.noreply.github.com
Sun Jan 5 08:49:23 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3c8e5d75c5 SCI32: Fix VMDPlayer not leaving last frame
Commit: 3c8e5d75c532c298408b3a24658118e18fa3ec00
https://github.com/scummvm/scummvm/commit/3c8e5d75c532c298408b3a24658118e18fa3ec00
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2020-01-05T00:45:25-08:00
Commit Message:
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
Changed paths:
engines/sci/graphics/video32.cpp
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp
index 567660d9..be62ba7 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() {
More information about the Scummvm-git-logs
mailing list