aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2011-01-20 17:07:46 +0000
committerSven Hesse2011-01-20 17:07:46 +0000
commitfd7159075d1d7f1a0425999b316e820d00fb23c6 (patch)
tree6c88f9a09caa733dda339ae6c0a471d903110b08 /engines
parent33ed3fa8a072c5260c1dd5c6662fc2162470bd04 (diff)
downloadscummvm-rg350-fd7159075d1d7f1a0425999b316e820d00fb23c6.tar.gz
scummvm-rg350-fd7159075d1d7f1a0425999b316e820d00fb23c6.tar.bz2
scummvm-rg350-fd7159075d1d7f1a0425999b316e820d00fb23c6.zip
GOB: Give sound-only videos 500 extra ms for good measure
svn-id: r55357
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/inter_v6.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index 5f93f9af26..d295bd7da8 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -180,8 +180,13 @@ void Inter_v6::o6_playVmdOrMusic() {
if (props.startFrame >= 0)
_vm->_vidPlayer->play(slot, props);
- if (close && !(props.flags & VideoPlayer::kFlagNonBlocking))
+ if (close && !(props.flags & VideoPlayer::kFlagNonBlocking)) {
+ if ((props.flags & VideoPlayer::kFlagNoVideo) && (!props.canceled))
+ _vm->_util->longDelay(500);
+
_vm->_vidPlayer->closeVideo(slot);
+ }
+
}
void Inter_v6::o6_openItk() {