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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Thu Oct 22 23:19:04 CEST 2009


Revision: 45341
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45341&view=rev
Author:   m_kiewitz
Date:     2009-10-22 21:19:03 +0000 (Thu, 22 Oct 2009)

Log Message:
-----------
SCI: kAnimate disable throttler for SCI0 and SCI01 games cause of issues in at least kq1. temporary solution only!

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-22 21:04:45 UTC (rev 45340)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-10-22 21:19:03 UTC (rev 45341)
@@ -952,6 +952,11 @@
 	// FIXME? currenty this speed throttling causes flickering in kq6 (when looking at the box)
 	//  this will get possibly fixed when reanimate and real cel updates within kAnimate are implemented
 
+	// At least kq1 gets broken by the throttler (actually "just" some animations are missing cause the game thinks we are
+	//  too slow, so also disable us for SCI0 and SCI01 games
+	if (getSciVersion() <= SCI_VERSION_01)
+		return s->r_acc;
+
 	// FIXME: qfg3 gets broken by this, BUT even changing neededSleep to 2 still makes it somewhat broken (palette animation
 	//  isnt working)
 


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