aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-24 12:50:12 +0000
committerArnaud Boutonné2010-08-24 12:50:12 +0000
commita85cb60e001cd20553536d0c8852b8d0286a088a (patch)
treea6427729125bd99fc5cb92a946e4b5a3ca4b5db6 /engines/gob/inter.cpp
parent3082354fa42c52317edd0e21703275e4e5b1493c (diff)
downloadscummvm-rg350-a85cb60e001cd20553536d0c8852b8d0286a088a.tar.gz
scummvm-rg350-a85cb60e001cd20553536d0c8852b8d0286a088a.tar.bz2
scummvm-rg350-a85cb60e001cd20553536d0c8852b8d0286a088a.zip
GOB: Two fixes for the Fascination delay issue.
Add two more workarounds for the delay issue between the storage room and the lab. This fixes the PC Floppy Hebrew and german versions. svn-id: r52334
Diffstat (limited to 'engines/gob/inter.cpp')
-rw-r--r--engines/gob/inter.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/engines/gob/inter.cpp b/engines/gob/inter.cpp
index 256ca37e50..f6e6d41100 100644
--- a/engines/gob/inter.cpp
+++ b/engines/gob/inter.cpp
@@ -291,16 +291,17 @@ void Inter::funcBlock(int16 retFlag) {
} // 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.
+ // Apart the CD version which is playing a speech in this room, all the versions
+ // of Fascination have a too short delay between the storage room and the lab.
// 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);
+ !strncmp(_vm->_game->_curTotFile, "PLANQUE.tot", 9)) {
+ int addr = _vm->_game->_script->pos();
+ if ((startaddr == 0x0202 && addr == 0x0330) || // Before Lab, Amiga & Atari, English
+ (startaddr == 0x023D && addr == 0x032D) || // Before Lab, PC floppy, German
+ (startaddr == 0x02C2 && addr == 0x03C2)) { // Before Lab, PC floppy, Hebrew
+ warning("Fascination - Adding delay");
+ _vm->_util->longDelay(3000);
}
} // End of workaround