mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
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
This commit is contained in:
parent
3082354fa4
commit
a85cb60e00
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user