aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorJohannes Schickel2006-07-22 14:59:44 +0000
committerJohannes Schickel2006-07-22 14:59:44 +0000
commit4ae5cef4913ff8b581acd5902e2912352133fb35 (patch)
treeacad74fd335f4b302ea21236037749e32a573e4e /engines/gob
parentcfd9977425d877870e0c8e800807c5eceea629e6 (diff)
downloadscummvm-rg350-4ae5cef4913ff8b581acd5902e2912352133fb35.tar.gz
scummvm-rg350-4ae5cef4913ff8b581acd5902e2912352133fb35.tar.bz2
scummvm-rg350-4ae5cef4913ff8b581acd5902e2912352133fb35.zip
- let md5_file accept a FilesystemNode too
- changes some engine detectors to use it svn-id: r23559
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/gob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp
index 75dfb8727f..2629286b01 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -348,7 +348,7 @@ DetectedGameList Engine_GOB_detectGames(const FSList &fslist) {
uint8 md5sum[16];
char md5str[32 + 1];
- if (Common::md5_file(file->path().c_str(), md5sum, kMD5FileSizeLimit)) {
+ if (Common::md5_file(*file, md5sum, kMD5FileSizeLimit)) {
for (int i = 0; i < 16; i++) {
sprintf(md5str + i * 2, "%02x", (int)md5sum[i]);
}