aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-16 23:02:35 +0000
committerJohannes Schickel2009-09-16 23:02:35 +0000
commitd5fcfc8b7fbb8c57dc4aef4bec5a2dccc5c28d54 (patch)
tree4e2f91710b3829823e835833bfb3c0de67e37ba0
parent6976bc87b78e9416f6c389bdf9131234d4d979c5 (diff)
downloadscummvm-rg350-d5fcfc8b7fbb8c57dc4aef4bec5a2dccc5c28d54.tar.gz
scummvm-rg350-d5fcfc8b7fbb8c57dc4aef4bec5a2dccc5c28d54.tar.bz2
scummvm-rg350-d5fcfc8b7fbb8c57dc4aef4bec5a2dccc5c28d54.zip
Make create_kyradat print out the filename, which is currently processed.
svn-id: r44123
-rw-r--r--tools/create_kyradat/create_kyradat.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp
index 9a6c201501..f063493256 100644
--- a/tools/create_kyradat/create_kyradat.cpp
+++ b/tools/create_kyradat/create_kyradat.cpp
@@ -1332,8 +1332,10 @@ int main(int argc, char *argv[]) {
continue;
}
+ printf("Processing file '%s'...\n", argv[i]);
+
if (!process(out, g, buffer, size))
- fprintf(stderr, "ERROR: couldn't process file '%s'\n", argv[i]);
+ fprintf(stderr, "ERROR: couldn't process file\n");
if (g->special == kFMTownsVersionE || g->special == k2TownsFile1E || g->special == k2TownsFile2E ||
g->special == k2CDFile1E || g->special == k2CDFile2E || g->special == k2CDDemoE) {
@@ -1341,14 +1343,14 @@ int main(int argc, char *argv[]) {
// The English and non language specific data has now been extracted.
// We switch to the second language and continue extraction.
if (!process(out, ++g, buffer, size))
- fprintf(stderr, "ERROR: couldn't process file '%s'\n", argv[i]);
+ fprintf(stderr, "ERROR: couldn't process file\n");
}
if (g->special == k2CDFile1F || g->special == k2CDFile2F || g->special == k2CDDemoF) {
// This is for executables which contain support for 3 languages.
// We switch to the third language and continue extraction.
if (!process(out, ++g, buffer, size))
- fprintf(stderr, "ERROR: couldn't process file '%s'\n", argv[i]);
+ fprintf(stderr, "ERROR: couldn't process file\n");
}
delete[] buffer;