From d942441f7f33a5d6898892fc64d777040a399b06 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 25 Jan 2003 12:13:41 +0000 Subject: applied patch #674141: CMI: Smush sync tuning svn-id: r6537 --- common/timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/timer.cpp') diff --git a/common/timer.cpp b/common/timer.cpp index 1cb4dda6c6..568a27a673 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -48,7 +48,7 @@ int Timer::handler(int * t) { if (_timerRunning) { _lastTime = _thisTime; _thisTime = _engine->_system->get_msecs(); - interval = _thisTime - _lastTime; + interval = 1000 * (_thisTime - _lastTime); for (l = 0; l < MAX_TIMERS; l++) { if ((_timerSlots[l].procedure) && (_timerSlots[l].interval > 0)) { -- cgit v1.2.3