[Scummvm-git-logs] scummvm master -> f0ecb4145ae65f92519ef3485fae321c8f212830
sev-
noreply at scummvm.org
Wed May 18 15:41:48 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f0ecb4145a DEVTOOLS: Improved logging for create_engine
Commit: f0ecb4145ae65f92519ef3485fae321c8f212830
https://github.com/scummvm/scummvm/commit/f0ecb4145ae65f92519ef3485fae321c8f212830
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-05-18T17:41:21+02:00
Commit Message:
DEVTOOLS: Improved logging for create_engine
Changed paths:
devtools/create_engine/create_engine.cpp
diff --git a/devtools/create_engine/create_engine.cpp b/devtools/create_engine/create_engine.cpp
index ec43590052c..0507cee0201 100644
--- a/devtools/create_engine/create_engine.cpp
+++ b/devtools/create_engine/create_engine.cpp
@@ -95,6 +95,9 @@ void process_file(const char *filename) {
sprintf(destFilename, "../../engines/%s/%s",
engineLowercase, filename);
+ printf("Creating file %s...", destFilename);
+ fflush(stdout);
+
FILE *in, *out;
if (!(in = fopen(srcFilename, "r"))) {
printf("Could not locate file - %s\n", srcFilename);
@@ -108,6 +111,8 @@ void process_file(const char *filename) {
process_file(in, out);
+ printf("done\n");
+
fclose(in);
fclose(out);
}
@@ -164,10 +169,15 @@ int main(int argc, char *argv[]) {
// Create a directory for the new engine
char folder[MAX_LINE_LENGTH];
sprintf(folder, "../../engines/%s", engineLowercase);
+
+ printf("Creating directory ../../engines/%s...", engineLowercase);
+ fflush(stdout);
+
if (mkdir(folder, 0755)) {
printf("Could not create engine folder.\n");
return 0;
}
+ printf("done\n");
// Process the files
for (const char *const *filename = FILENAMES; *filename; ++filename)
More information about the Scummvm-git-logs
mailing list