From c0235a268d2717fbcf5c19c25f1cd6bec9f6715f Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sun, 25 Oct 2009 20:03:10 +0000 Subject: [PATCH] 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 --- engines/sci/engine/kmisc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp index 43cc57ee0bd..de05410ae8f 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);