[Scummvm-cvs-logs] SF.net SVN: scummvm: [21466] scummvm/trunk/engines/simon/vga.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Mon Mar 27 05:31:05 CEST 2006


Revision: 21466
Author:   kirben
Date:     2006-03-27 05:30:28 -0800 (Mon, 27 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21466&view=rev

Log Message:
-----------
Always init state.depack_cont

Modified Paths:
--------------
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-03-27 12:54:53 UTC (rev 21465)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-03-27 13:30:28 UTC (rev 21466)
@@ -497,7 +497,6 @@
 }
 
 void vc10_skip_cols(VC10_state *vs) {
-	vs->depack_cont = -0x80;
 	while (vs->x_skip) {
 		vc10_depack_column(vs);
 		vs->x_skip--;
@@ -704,7 +703,7 @@
 		return;
 
 	if (_dumpImages)
-		dump_single_bitmap(_vgaCurFileId, state.image, state.depack_src, width * 16, height,
+		dump_single_bitmap(_vgaCurFileId, state.image, state.depack_src, width, height,
 											 state.palette);
 	// Check if image is compressed
 	if (getGameType() == GType_FF) {
@@ -770,6 +769,8 @@
 	state.width = state.draw_width = width;		/* cl */
 	state.height = state.draw_height = height;	/* ch */
 
+	state.depack_cont = -0x80;
+
 	state.x_skip = 0;				/* colums to skip = bh */
 	state.y_skip = 0;				/* rows to skip   = bl */
 


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