diff options
author | Johannes Schickel | 2006-07-22 14:59:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-07-22 14:59:44 +0000 |
commit | 4ae5cef4913ff8b581acd5902e2912352133fb35 (patch) | |
tree | acad74fd335f4b302ea21236037749e32a573e4e /engines/kyra | |
parent | cfd9977425d877870e0c8e800807c5eceea629e6 (diff) | |
download | scummvm-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/kyra')
-rw-r--r-- | engines/kyra/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/plugin.cpp b/engines/kyra/plugin.cpp index 14d3355c04..de8864623b 100644 --- a/engines/kyra/plugin.cpp +++ b/engines/kyra/plugin.cpp @@ -195,7 +195,7 @@ DetectedGameList Engine_KYRA_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]); } |