aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/plugin.cpp
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/kyra/plugin.cpp
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/kyra/plugin.cpp')
-rw-r--r--engines/kyra/plugin.cpp2
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]);
}