aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-12-03 22:14:47 +0000
committerSven Hesse2008-12-03 22:14:47 +0000
commit353a239bdb824e57e67745752d2df15dc3ae0687 (patch)
tree27bfa145527e25cba72d21d0ab9db1be20e5f938 /engines/gob/game_v2.cpp
parent1edc1789b1af4a3e5aaaa3e44d5e6683585db8db (diff)
downloadscummvm-rg350-353a239bdb824e57e67745752d2df15dc3ae0687.tar.gz
scummvm-rg350-353a239bdb824e57e67745752d2df15dc3ae0687.tar.bz2
scummvm-rg350-353a239bdb824e57e67745752d2df15dc3ae0687.zip
Preliminary support for extra data and scripts in video files (urgh, this is so...vile).
Used in The Last Dynasty, which now plays a bit further (the video sequences, at least) svn-id: r35227
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r--engines/gob/game_v2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp
index 9d09fac425..28de420467 100644
--- a/engines/gob/game_v2.cpp
+++ b/engines/gob/game_v2.cpp
@@ -106,6 +106,9 @@ void Game_v2::playTot(int16 skipPlay) {
break;
totSize = loadTotFile(_curTotFile);
+
+ _vm->_vidPlayer->primaryClose();
+
if (_totFileData == 0) {
_vm->_draw->blitCursor();
_vm->_inter->_terminate = 2;
@@ -269,7 +272,6 @@ void Game_v2::playTot(int16 skipPlay) {
}
}
- _vm->_vidPlayer->primaryClose();
if (_totToLoad[0] == 0)
break;