aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
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/lure
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/lure')
-rw-r--r--engines/lure/lure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp
index 84d035b318..5ec33994a3 100644
--- a/engines/lure/lure.cpp
+++ b/engines/lure/lure.cpp
@@ -130,7 +130,7 @@ DetectedGameList Engine_LURE_detectGames(const FSList &fslist) {
uint8 md5sum[16];
char md5str[32 + 1];
- if (Common::md5_file(file->path().c_str(), md5sum, NULL, kMD5FileSizeLimit)) {
+ if (Common::md5_file(file->path().c_str(), md5sum, kMD5FileSizeLimit)) {
for (int i = 0; i < 16; i++) {
sprintf(md5str + i * 2, "%02x", (int)md5sum[i]);
}
@@ -225,7 +225,7 @@ void LureEngine::detectGame() {
if (!Common::File::exists(g->checkFile))
continue;
- if (Common::md5_file(g->checkFile, md5sum, NULL, kMD5FileSizeLimit)) {
+ if (Common::md5_file(g->checkFile, md5sum, kMD5FileSizeLimit)) {
for (int j = 0; j < 16; j++) {
sprintf(md5str + j * 2, "%02x", (int)md5sum[j]);
}