[Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.55,1.56
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Mar 6 06:13:16 CET 2005
Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10638/sword2/driver
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/sword2/driver/animation.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- animation.cpp 27 Feb 2005 16:11:17 -0000 1.55
+++ animation.cpp 6 Mar 2005 14:12:40 -0000 1.56
@@ -104,7 +104,7 @@
#ifdef BACKEND_8BIT
_vm->_screen->plotYUV(lut, width, height, dat);
#else
- plotYUV(lookup, width, height, dat);
+ plotYUV(width, height, dat);
#endif
}
@@ -308,7 +308,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