diff options
author | Sven Hesse | 2011-01-20 10:21:27 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-20 10:21:27 +0000 |
commit | 6e403b38bad648cd52eeb5a1f0b71d75ab4256a7 (patch) | |
tree | 2704d4449a69ba631ea1ff0609a4be4dd383a72c /engines/gob | |
parent | 6b85f809d9fcb2e7140944b5a8be14373b8fc081 (diff) | |
download | scummvm-rg350-6e403b38bad648cd52eeb5a1f0b71d75ab4256a7.tar.gz scummvm-rg350-6e403b38bad648cd52eeb5a1f0b71d75ab4256a7.tar.bz2 scummvm-rg350-6e403b38bad648cd52eeb5a1f0b71d75ab4256a7.zip |
GOB: Reverse-blit the final frame of a live video
Fixes some glitches at the end of live videos
svn-id: r55347
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/videoplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index 6b6bc570da..c89f598d10 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -305,6 +305,8 @@ void VideoPlayer::updateLive(bool force) { // Video ended WRITE_VAR_OFFSET(212, (uint32)-1); + if (video->surface == _vm->_draw->_frontSurface) + _vm->_draw->forceBlit(true); _vm->_vidPlayer->closeVideo(); return; } |