[Scummvm-cvs-logs] SF.net SVN: scummvm:[51890] scummvm/trunk/graphics/video/coktel_decoder.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sun Aug 8 02:52:59 CEST 2010
Revision: 51890
http://scummvm.svn.sourceforge.net/scummvm/?rev=51890&view=rev
Author: drmccoy
Date: 2010-08-08 00:52:59 +0000 (Sun, 08 Aug 2010)
Log Message:
-----------
VIDEO: Fix deLZ77'ing video data directly onto the video surface
Modified Paths:
--------------
scummvm/trunk/graphics/video/coktel_decoder.cpp
Modified: scummvm/trunk/graphics/video/coktel_decoder.cpp
===================================================================
--- scummvm/trunk/graphics/video/coktel_decoder.cpp 2010-08-08 00:52:37 UTC (rev 51889)
+++ scummvm/trunk/graphics/video/coktel_decoder.cpp 2010-08-08 00:52:59 UTC (rev 51890)
@@ -1226,9 +1226,9 @@
type &= 0x7F;
- if ((type == 2) && (rect.width() == _surface.w)) {
+ if ((type == 2) && (rect.width() == _surface.w) && (_x == 0)) {
// Directly uncompress onto the video surface
- deLZ77((byte *)_surface.pixels, dataPtr);
+ deLZ77((byte *)_surface.pixels + (_y * _surface.pitch), dataPtr);
return;
}
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