aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-25 20:03:10 +0000
committerMartin Kiewitz2009-10-25 20:03:10 +0000
commitc0235a268d2717fbcf5c19c25f1cd6bec9f6715f (patch)
tree7e81ad168b767a37cdc0b1b9f67423f5e745f12e /engines/sci
parent5a465c86c2c8ed5fe3fb1b7713201ffeccb3703f (diff)
downloadscummvm-rg350-c0235a268d2717fbcf5c19c25f1cd6bec9f6715f.tar.gz
scummvm-rg350-c0235a268d2717fbcf5c19c25f1cd6bec9f6715f.tar.bz2
scummvm-rg350-c0235a268d2717fbcf5c19c25f1cd6bec9f6715f.zip
SCI: kGameIsRestarting - changing speed throttler to 10 msecs, lsl5 is still "somewhat" playable, codename iceman and qfg2 didnt show some animations cause of the higher delay
svn-id: r45375
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kmisc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 43cc57ee0b..de05410ae8 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -57,9 +57,10 @@ reg_t kGameIsRestarting(EngineState *s, int argc, reg_t *argv) {
s->restarting_flags &= ~SCI_GAME_WAS_RESTARTED;
}
+
uint32 curTime = g_system->getMillis();
uint32 duration = curTime - s->_lastAnimateTime;
- uint32 neededSleep = 30;
+ uint32 neededSleep = 10;
if (duration < neededSleep) {
gfxop_sleep(s->gfx_state, neededSleep - duration);