[Scummvm-cvs-logs] SF.net SVN: scummvm:[53750] scummvm/trunk/engines/saga/image.cpp

h00ligan at users.sourceforge.net h00ligan at users.sourceforge.net
Sun Oct 24 00:04:51 CEST 2010


Revision: 53750
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53750&view=rev
Author:   h00ligan
Date:     2010-10-23 22:04:51 +0000 (Sat, 23 Oct 2010)

Log Message:
-----------
SAGA: fix typo

Modified Paths:
--------------
    scummvm/trunk/engines/saga/image.cpp

Modified: scummvm/trunk/engines/saga/image.cpp
===================================================================
--- scummvm/trunk/engines/saga/image.cpp	2010-10-23 22:02:52 UTC (rev 53749)
+++ scummvm/trunk/engines/saga/image.cpp	2010-10-23 22:04:51 UTC (rev 53750)
@@ -53,8 +53,6 @@
 	const byte *RLE_data_ptr;
 	size_t RLE_data_len;
 	ByteArray decodeBuffer;
-	byte *out_buf;
-	size_t out_buf_len;
 
 	if (image_size <= SAGA_IMAGE_DATA_OFFSET) {
 		error("decodeBGImage() Image size is way too small (%d)", (int)image_size);
@@ -85,7 +83,7 @@
 
 	// For some reason bg images in IHNM are upside down
 	if (getGameId() == GID_IHNM && !flip) {
-		flipImage(out_buf, hdr.width, hdr.height);
+		flipImage(outputBuffer.getBuffer(), hdr.width, hdr.height);
 	}
 
 	*w = hdr.width;


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