From 22042bc63741321557b401833adf9d2ccf10eb3b Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 25 Mar 2006 04:17:17 +0000 Subject: - Implemented case insensitive file reading. Left old system as a fallback in case some engine writer decide to do something unwise - Removed used of ConfMan.getKey("path") in file-related cases, because now File class handles that - Fixed bug in ScummEngine_v80he::o80_getFileSize() where path delimiters weren't translated svn-id: r21443 --- engines/lure/lure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/lure/lure.cpp') diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index 1aa37046e7..a034fec156 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -221,7 +221,7 @@ void LureEngine::detectGame() { if (!Common::File::exists(g->checkFile)) continue; - if (Common::md5_file(g->checkFile, md5sum, ConfMan.get("path").c_str(), kMD5FileSizeLimit)) { + if (Common::md5_file(g->checkFile, md5sum, NULL, kMD5FileSizeLimit)) { for (int j = 0; j < 16; j++) { sprintf(md5str + j * 2, "%02x", (int)md5sum[j]); } -- cgit v1.2.3