aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/gob.cpp
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/gob/gob.cpp
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/gob/gob.cpp')
-rw-r--r--engines/gob/gob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 4a968bb4b3..e5b9979147 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -316,7 +316,7 @@ DetectedGameList Engine_GOB_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]);
}
@@ -343,7 +343,7 @@ Engine *Engine_GOB_create(OSystem *syst) {
uint8 md5sum[16];
char md5str[32 + 1];
- if (Common::md5_file("intro.stk", md5sum, NULL, kMD5FileSizeLimit)) {
+ if (Common::md5_file("intro.stk", md5sum, kMD5FileSizeLimit)) {
for (int j = 0; j < 16; j++) {
sprintf(md5str + j*2, "%02x", (int)md5sum[j]);
}