[Scummvm-cvs-logs] CVS: scummvm/backends/dc input.cpp,1.6,1.7

Marcus Comstedt marcus_c at users.sourceforge.net
Mon Mar 3 13:51:30 CET 2003


Update of /cvsroot/scummvm/scummvm/backends/dc
In directory sc8-pr-cvs1:/tmp/cvs-serv9708

Modified Files:
	input.cpp 
Log Message:
Don't keep a backlog of missed deadlines for event polling...

Index: input.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/dc/input.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- input.cpp	2 Mar 2003 20:17:21 -0000	1.6
+++ input.cpp	3 Mar 2003 21:40:31 -0000	1.7
@@ -149,6 +149,8 @@
   if(((int)(t-_devpoll))<0)
     return false;
   _devpoll += USEC_TO_TIMER(17000);
+  if(((int)(t-_devpoll))>=0)
+    _devpoll = t + USEC_TO_TIMER(17000);
   int mask = getimask();
   setimask(15);
   checkSound();





More information about the Scummvm-git-logs mailing list