diff options
Diffstat (limited to 'engines/saga/game.cpp')
-rw-r--r-- | engines/saga/game.cpp | 4 |
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]); } |