[Scummvm-cvs-logs] CVS: scummvm/sword1 animation.cpp,1.29.2.2,1.29.2.3

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun Mar 13 09:16:40 CET 2005


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23365/sword1

Modified Files:
      Tag: branch-0-7-0
	animation.cpp 
Log Message:
Backported the memory-saving fixes to the MPEG cutscene player.


Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/animation.cpp,v
retrieving revision 1.29.2.2
retrieving revision 1.29.2.3
diff -u -d -r1.29.2.2 -r1.29.2.3
--- animation.cpp	23 Jan 2005 04:34:56 -0000	1.29.2.2
+++ animation.cpp	13 Mar 2005 17:16:06 -0000	1.29.2.3
@@ -49,7 +49,7 @@
 #ifdef BACKEND_8BIT
 	_scr->plotYUV(lut, width, height, dat);
 #else
-	plotYUV(lookup, width, height, dat);
+	plotYUV(width, height, dat);
 #endif
 }
 
@@ -144,7 +144,7 @@
 				switch (event.type) {
 #ifndef BACKEND_8BIT
 				case OSystem::EVENT_SCREEN_CHANGED:
-					anim->invalidateLookup(true);
+					anim->buildLookup();
 					break;
 #endif
 				case OSystem::EVENT_KEYDOWN:





More information about the Scummvm-git-logs mailing list