diff options
author | Yotam Barnoy | 2010-10-31 11:08:43 +0000 |
---|---|---|
committer | Yotam Barnoy | 2010-10-31 11:08:43 +0000 |
commit | 94c8d0a14df429a1b25bd9f5c5d75497fd0ddbd1 (patch) | |
tree | 3df2a4ae7967c56d464729669fc06ce4e93dff36 /tools/skycpt/cptcompiler.cpp | |
parent | 8df4278ba8cfbf71228e1927f9db635a9a30a57f (diff) | |
parent | dca3c8d8bfc6c4db38cf8e8291818dd472041d4e (diff) | |
download | scummvm-rg350-94c8d0a14df429a1b25bd9f5c5d75497fd0ddbd1.tar.gz scummvm-rg350-94c8d0a14df429a1b25bd9f5c5d75497fd0ddbd1.tar.bz2 scummvm-rg350-94c8d0a14df429a1b25bd9f5c5d75497fd0ddbd1.zip |
Updated with latest from trunk
svn-id: r53976
Diffstat (limited to 'tools/skycpt/cptcompiler.cpp')
-rw-r--r-- | tools/skycpt/cptcompiler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/skycpt/cptcompiler.cpp b/tools/skycpt/cptcompiler.cpp index 75434a4618..956f575d7d 100644 --- a/tools/skycpt/cptcompiler.cpp +++ b/tools/skycpt/cptcompiler.cpp @@ -475,7 +475,7 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE * bool filesExist = true; char inName[32]; for (int i = 0; i < 7; i++) { - sprintf(inName, "reset.%03d", gameVers[i]); + sprintf(inName, "RESET.%03d", gameVers[i]); FILE *test = fopen(inName, "rb"); if (test) fclose(test); @@ -505,8 +505,9 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE * fwrite(&tmp, 2, 1, debOutf); printf("reset destination: %ld\n", ftell(debOutf)); for (int cnt = 0; cnt < 6; cnt++) { + printf("Processing diff v0.0%03d\n", gameVers[cnt]); uint16 diffPos = 0; - sprintf(inName, "reset.%03d", gameVers[cnt]); + sprintf(inName, "RESET.%03d", gameVers[cnt]); FILE *resDiff = fopen(inName, "rb"); fseek(resDiff, 0, SEEK_END); assert(ftell(resDiff) == (resSize * 2)); |