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
This commit is contained in:
Martin Kiewitz 2009-10-25 20:03:10 +00:00
parent 5a465c86c2
commit c0235a268d

View File

@ -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);