SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way

svn-id: r45105
This commit is contained in:
Martin Kiewitz 2009-10-15 07:50:10 +00:00
parent 3e7eb5089c
commit 0868fd24d2

View File

@ -942,7 +942,7 @@ reg_t kAnimate(EngineState *s, int argc, reg_t *argv) {
uint32 duration = curTime - s->_lastAnimateTime;
if (duration < 50) {
g_system->delayMillis(50-duration);
gfxop_sleep(s->gfx_state, 50-duration);
}
s->_lastAnimateTime = curTime;