[Scummvm-cvs-logs] CVS: scummvm/sword1 animation.cpp,1.34,1.35

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


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

Modified Files:
	animation.cpp 
Log Message:
Applied patch #1155731, reducing the memory usage of the MPEG player by
about 8 MB.


Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/animation.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- animation.cpp	23 Jan 2005 03:26:54 -0000	1.34
+++ animation.cpp	6 Mar 2005 14:12:40 -0000	1.35
@@ -50,7 +50,7 @@
 #ifdef BACKEND_8BIT
 	_scr->plotYUV(lut, width, height, dat);
 #else
-	plotYUV(lookup, width, height, dat);
+	plotYUV(width, height, dat);
 #endif
 }
 
@@ -145,7 +145,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