diff options
author | Arnaud Boutonné | 2010-08-20 07:59:23 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-08-20 07:59:23 +0000 |
commit | 588472a8e69e2ecc98e3bf03c62bff029e715b81 (patch) | |
tree | 4d539b9a3d468bff69110ca2e2e9d1b353257cdc | |
parent | 849ccc9eab10e74886f20ed8d407783676bc6230 (diff) | |
download | scummvm-rg350-588472a8e69e2ecc98e3bf03c62bff029e715b81.tar.gz scummvm-rg350-588472a8e69e2ecc98e3bf03c62bff029e715b81.tar.bz2 scummvm-rg350-588472a8e69e2ecc98e3bf03c62bff029e715b81.zip |
Fascination - Add a delay before entering the lab. This was a script issue only present in the Amiga and Atari ST versions
svn-id: r52221
-rw-r--r-- | engines/gob/inter.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp index 0d48ad719c..3141d618bd 100644 --- a/engines/gob/inter.cpp +++ b/engines/gob/inter.cpp @@ -288,7 +288,20 @@ void Inter::funcBlock(int16 retFlag) { _vm->_util->longDelay(5000); } + } // End of workaround + // WORKAROUND: + // The Amiga and Atari ST versions of Fascination don't add a delay after + // showing images between some levels, probably using the loading time int account. + // We manually add it here. + if ((_vm->getGameType() == kGameTypeFascination) && + ((_vm->getPlatform() == Common::kPlatformAmiga)|| + (_vm->getPlatform() == Common::kPlatformAtariST))) { + int addr = _vm->_game->_script->pos(); + if ((startaddr == 0x0202 && addr == 0x0330 && // Before Lab, Amiga & Atari + !strncmp(_vm->_game->_curTotFile, "PLANQUE.tot", 9))) { + _vm->_util->longDelay(5000); + } } // End of workaround cmd = _vm->_game->_script->readByte(); |