[Scummvm-cvs-logs] CVS: scummvm/sky intro.cpp,1.33,1.34

Nicolas Bacca arisme at users.sourceforge.net
Wed Aug 6 16:50:13 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv16803

Modified Files:
	intro.cpp 
Log Message:
Fix intro timing on WinCE ... guess everybody could use it but I'll leave the engine mainteners decide :p

Index: intro.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/intro.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- intro.cpp	23 Jul 2003 19:33:34 -0000	1.33
+++ intro.cpp	6 Aug 2003 23:49:50 -0000	1.34
@@ -884,7 +884,11 @@
 				return false;
 			}
 		}
+#ifdef _WIN32_WCE
+		uint8 nDelay = (msecs > 15)?(15):((uint8)msecs);
+#else
 		uint8 nDelay = (msecs > 50)?(50):((uint8)msecs);
+#endif
 		_system->delay_msecs(nDelay);
         msecs -= nDelay;
 	} while (msecs > 0);





More information about the Scummvm-git-logs mailing list