[Scummvm-cvs-logs] CVS: scummvm/common timer.cpp,1.4,1.5

Pawel Kolodziejski aquadran at users.sourceforge.net
Sat Jan 25 04:14:03 CET 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv24428/common

Modified Files:
	timer.cpp 
Log Message:
applied patch #674141: CMI: Smush sync tuning 

Index: timer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/timer.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- timer.cpp	18 Sep 2002 10:22:35 -0000	1.4
+++ timer.cpp	25 Jan 2003 12:13:41 -0000	1.5
@@ -48,7 +48,7 @@
 	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)) {





More information about the Scummvm-git-logs mailing list