diff options
author | Sven Hesse | 2008-12-03 22:14:47 +0000 |
---|---|---|
committer | Sven Hesse | 2008-12-03 22:14:47 +0000 |
commit | 353a239bdb824e57e67745752d2df15dc3ae0687 (patch) | |
tree | 27bfa145527e25cba72d21d0ab9db1be20e5f938 /engines/gob/game_v2.cpp | |
parent | 1edc1789b1af4a3e5aaaa3e44d5e6683585db8db (diff) | |
download | scummvm-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.cpp | 4 |
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; |