aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMax Horn2006-04-16 12:50:39 +0000
committerMax Horn2006-04-16 12:50:39 +0000
commitba1b25305eb824f89f4dfa153f8022c5c5f4e798 (patch)
treed9890c75367bc3a3e3b77b43a84de47bf2b86abb /engines/saga
parent856b1b0bf4864252434b612dec1f01100a2e9c5c (diff)
downloadscummvm-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/saga')
-rw-r--r--engines/saga/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp
index 10c009b8f1..041db02494 100644
--- a/engines/saga/game.cpp
+++ b/engines/saga/game.cpp
@@ -1541,7 +1541,7 @@ static int detectGame(const FSList *fslist, Common::Language language, Common::P
if (!filesList.contains(tstr)) continue;
- if (!Common::md5_file(file->path().c_str(), md5sum, NULL, FILE_MD5_BYTES)) continue;
+ if (!Common::md5_file(file->path().c_str(), md5sum, FILE_MD5_BYTES)) continue;
for (j = 0; j < 16; j++) {
sprintf(md5str + j*2, "%02x", (int)md5sum[j]);
}
@@ -1558,7 +1558,7 @@ static int detectGame(const FSList *fslist, Common::Language language, Common::P
if (testFile.open(file->_key)) {
testFile.close();
- if (Common::md5_file(file->_key.c_str(), md5sum, NULL, FILE_MD5_BYTES)) {
+ if (Common::md5_file(file->_key.c_str(), md5sum, FILE_MD5_BYTES)) {
for (j = 0; j < 16; j++) {
sprintf(md5str + j*2, "%02x", (int)md5sum[j]);
}