mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 02:36:27 +00:00
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:
parent
5a465c86c2
commit
c0235a268d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user