aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/inter_v1.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp
index fcf825b4c3..4738669974 100644
--- a/engines/gob/inter_v1.cpp
+++ b/engines/gob/inter_v1.cpp
@@ -1647,6 +1647,12 @@ bool Inter_v1::o1_keyFunc(OpFuncParams &params) {
lastCalled = now;
_noBusyWait = false;
+ // WORKAROUND: Ween busy-waits in the intro for a counter to become 5000.
+ // We deliberately slow down busy-waiting, so we shorten the counting, too.
+ if (((_vm->_global->_inter_execPtr - _vm->_game->_totFileData) == 729) &&
+ (VAR(59) < 4000) && !scumm_stricmp(_vm->_game->_curTotFile, "intro5.tot"))
+ WRITE_VAR(59, 4000);
+
switch (cmd) {
case 0:
_vm->_draw->_showCursor &= ~2;