[Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.45.2.1,1.45.2.2
Torbjörn Andersson
eriktorbjorn at users.sourceforge.net
Sun Mar 13 09:16:44 CET 2005
Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23365/sword2/driver
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/sword2/driver/animation.cpp,v
retrieving revision 1.45.2.1
retrieving revision 1.45.2.2
diff -u -d -r1.45.2.1 -r1.45.2.2
--- animation.cpp 4 Jan 2005 15:37:08 -0000 1.45.2.1
+++ animation.cpp 13 Mar 2005 17:16:09 -0000 1.45.2.2
@@ -104,7 +104,7 @@
#ifdef BACKEND_8BIT
_vm->_graphics->plotYUV(lut, width, height, dat);
#else
- plotYUV(lookup, width, height, dat);
+ plotYUV(width, height, dat);
#endif
}
@@ -258,7 +258,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