diff options
author | Martin Kiewitz | 2009-10-25 20:03:10 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-25 20:03:10 +0000 |
commit | c0235a268d2717fbcf5c19c25f1cd6bec9f6715f (patch) | |
tree | 7e81ad168b767a37cdc0b1b9f67423f5e745f12e /engines/sci/engine/kmisc.cpp | |
parent | 5a465c86c2c8ed5fe3fb1b7713201ffeccb3703f (diff) | |
download | scummvm-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/engine/kmisc.cpp')
-rw-r--r-- | engines/sci/engine/kmisc.cpp | 3 |
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); |