mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 07:39:08 +00:00
SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way
svn-id: r45105
This commit is contained in:
parent
3e7eb5089c
commit
0868fd24d2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user