[Scummvm-cvs-logs] CVS: tools extract_loom_tg16.c,1.4,1.5

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Fri Jul 22 12:12:36 CEST 2005


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13255

Modified Files:
	extract_loom_tg16.c 
Log Message:
Fixed compile error in resource dumping mode.


Index: extract_loom_tg16.c
===================================================================
RCS file: /cvsroot/scummvm/tools/extract_loom_tg16.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- extract_loom_tg16.c	19 Jul 2005 23:38:30 -0000	1.4
+++ extract_loom_tg16.c	22 Jul 2005 19:10:18 -0000	1.5
@@ -31,7 +31,7 @@
 
 /* if defined, generates a set of .LFL files */
 /* if not defined, dumps all resources to separate files */
-#define	MAKE_LFLS
+/* #define	MAKE_LFLS */
 
 
 #ifdef _MSC_VER
@@ -879,7 +879,7 @@
 	case RES_COSTUME:
 	case RES_SCRIPT:
 	case RES_UNKNOWN:
-		rlen = read_word(input);
+		rlen = read_cword(input,&i);
 		if (rlen != r_length(res))
 			error("extract_resource - length mismatch while extracting resource (was %04X, expected %04X)",rlen,r_length(res));
 		writeUint16LE(output,rlen);





More information about the Scummvm-git-logs mailing list