Ticket #3207: d.diff
File d.diff, 673 bytes (added by , 17 years ago) |
---|
-
detection.cpp
319 319 static void detectGames(const FSList &fslist, Common::List<DetectorResult> &results, const char *gameid) { 320 320 DescMap fileMD5Map; 321 321 DetectorResult dr; 322 char md5str[32+1]; 322 323 323 324 for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { 324 325 if (!file->isDirectory()) { … … 369 370 // 370 371 DetectorDesc &d = fileMD5Map[file]; 371 372 if (d.md5.empty()) { 372 char md5str[32+1];373 373 if (Common::md5_file_string(d.node, md5str, kMD5FileSizeLimit)) { 374 374 375 375 d.md5 = md5str;