diff options
author | Max Horn | 2006-04-16 12:50:39 +0000 |
---|---|---|
committer | Max Horn | 2006-04-16 12:50:39 +0000 |
commit | ba1b25305eb824f89f4dfa153f8022c5c5f4e798 (patch) | |
tree | d9890c75367bc3a3e3b77b43a84de47bf2b86abb /engines/scumm | |
parent | 856b1b0bf4864252434b612dec1f01100a2e9c5c (diff) | |
download | scummvm-rg350-ba1b25305eb824f89f4dfa153f8022c5c5f4e798.tar.gz scummvm-rg350-ba1b25305eb824f89f4dfa153f8022c5c5f4e798.tar.bz2 scummvm-rg350-ba1b25305eb824f89f4dfa153f8022c5c5f4e798.zip |
Removed the directory parameter from md5_file
svn-id: r21937
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index f1087040b7..1d2ec6b4f8 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1134,7 +1134,7 @@ void detectGames(const FSList &fslist) { DetectorDesc &d = fileMD5Map[file]; if (d.md5.empty()) { uint8 md5sum[16]; - if (Common::md5_file(d.path.c_str(), md5sum, 0, kMD5FileSizeLimit)) { + if (Common::md5_file(d.path.c_str(), md5sum, kMD5FileSizeLimit)) { char md5str[32+1]; for (int j = 0; j < 16; j++) { sprintf(md5str + j*2, "%02x", (int)md5sum[j]); @@ -1583,7 +1583,7 @@ DetectedGameList Engine_SCUMM_detectGames(const FSList &fslist) { uint8 md5sum[16]; const char *name = iter->_key.c_str(); - if (Common::md5_file(name, md5sum, 0, kMD5FileSizeLimit)) { + if (Common::md5_file(name, md5sum, kMD5FileSizeLimit)) { char md5str[32+1]; for (int j = 0; j < 16; j++) { sprintf(md5str + j*2, "%02x", (int)md5sum[j]); @@ -1738,7 +1738,7 @@ Engine *Engine_SCUMM_create(OSystem *syst) { if (!md5) { // Compute the MD5 of the file, and (if we succeeded) store a hex version // of it in gameMD5 (useful to print it to the user in messages). - if (Common::md5_file(detectName, md5sum, NULL, kMD5FileSizeLimit)) { + if (Common::md5_file(detectName, md5sum, kMD5FileSizeLimit)) { for (int j = 0; j < 16; j++) { sprintf(md5buf + j*2, "%02x", (int)md5sum[j]); } |