[Scummvm-cvs-logs] SF.net SVN: scummvm: [24456] scummvm/trunk/backends/platform/dc/time.cpp
marcus_c at users.sourceforge.net
marcus_c at users.sourceforge.net
Sun Oct 22 20:54:58 CEST 2006
Revision: 24456
http://svn.sourceforge.net/scummvm/?rev=24456&view=rev
Author: marcus_c
Date: 2006-10-22 11:54:55 -0700 (Sun, 22 Oct 2006)
Log Message:
-----------
delayMillis() should now cope with delays over 20 minutes without overflowing.
Modified Paths:
--------------
scummvm/trunk/backends/platform/dc/time.cpp
Modified: scummvm/trunk/backends/platform/dc/time.cpp
===================================================================
--- scummvm/trunk/backends/platform/dc/time.cpp 2006-10-22 18:35:49 UTC (rev 24455)
+++ scummvm/trunk/backends/platform/dc/time.cpp 2006-10-22 18:54:55 UTC (rev 24456)
@@ -48,7 +48,7 @@
{
getMillis();
unsigned int t, start = Timer();
- int time = (((unsigned int)msecs)*100000U)>>11;
+ int time = (((unsigned int)msecs)*3125U)>>6;
while(((int)((t = Timer())-start))<time) {
if(_timer != NULL)
_timer->handler();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list