GOB: Reverse-blit the final frame of a live video

Fixes some glitches at the end of live videos

svn-id: r55347
This commit is contained in:
Sven Hesse 2011-01-20 10:21:27 +00:00
parent 6b85f809d9
commit 6e403b38ba

View File

@ -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;
}