[Scummvm-cvs-logs] SF.net SVN: scummvm:[41670] tools/trunk/extract_gob_stk.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Fri Jun 19 13:12:58 CEST 2009
Revision: 41670
http://scummvm.svn.sourceforge.net/scummvm/?rev=41670&view=rev
Author: strangerke
Date: 2009-06-19 11:12:57 +0000 (Fri, 19 Jun 2009)
Log Message:
-----------
Add archive name to the 'gob' config file, so that the compression tool may also create .itk files, when required.
Modified Paths:
--------------
tools/trunk/extract_gob_stk.cpp
Modified: tools/trunk/extract_gob_stk.cpp
===================================================================
--- tools/trunk/extract_gob_stk.cpp 2009-06-19 10:27:52 UTC (rev 41669)
+++ tools/trunk/extract_gob_stk.cpp 2009-06-19 11:12:57 UTC (rev 41670)
@@ -72,6 +72,8 @@
if (!(gobConf = fopen(outFilename, "w")))
error("Couldn't create config file \"%s\"", outFilename);
+ fprintf(gobConf, "%s\n", argv[1]);
+
if (fread(signature, 1, 6, stk) < 6)
error("Unexpected EOF while reading signature in \"%s\"", argv[1]);
@@ -309,6 +311,7 @@
}
delete[] data;
+ fflush(chunkFile);
fclose(chunkFile);
curChunk = curChunk->next;
@@ -367,7 +370,6 @@
tmpIndex++;
tmpIndex %= 4096;
}
-
}
}
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