[Scummvm-cvs-logs] SF.net SVN: scummvm:[45105] scummvm/trunk/engines/sci/engine/kgraphics.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Thu Oct 15 09:50:10 CEST 2009


Revision: 45105
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45105&view=rev
Author:   m_kiewitz
Date:     2009-10-15 07:50:10 +0000 (Thu, 15 Oct 2009)

Log Message:
-----------
SCI: kAnimate now uses gfxop_sleep for sleeping, mouse cursor is more fluid that way

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-15 07:46:52 UTC (rev 45104)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-15 07:50:10 UTC (rev 45105)
@@ -942,7 +942,7 @@
 	uint32 duration = curTime - s->_lastAnimateTime;
 
 	if (duration < 50) {
-		g_system->delayMillis(50-duration);
+		gfxop_sleep(s->gfx_state, 50-duration);
 	}
 	s->_lastAnimateTime = curTime;
 


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