aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-25 04:17:17 +0000
committerEugene Sandulenko2006-03-25 04:17:17 +0000
commit22042bc63741321557b401833adf9d2ccf10eb3b (patch)
tree5122e534a141c37092e8f583bb33669c49e434e8 /engines/gob
parent3331de7105fe8ece9268ad0bc9123dba01a33a2b (diff)
downloadscummvm-rg350-22042bc63741321557b401833adf9d2ccf10eb3b.tar.gz
scummvm-rg350-22042bc63741321557b401833adf9d2ccf10eb3b.tar.bz2
scummvm-rg350-22042bc63741321557b401833adf9d2ccf10eb3b.zip
- 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
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 58bf4252a8..2dbee4cd1f 100644
--- a/engines/gob/gob.cpp
+++ b/engines/gob/gob.cpp
@@ -343,7 +343,7 @@ Engine *Engine_GOB_create(GameDetector * detector, OSystem *syst) {
uint8 md5sum[16];
char md5str[32 + 1];
- if (Common::md5_file("intro.stk", md5sum, ConfMan.get("path").c_str(), kMD5FileSizeLimit)) {
+ if (Common::md5_file("intro.stk", md5sum, NULL, kMD5FileSizeLimit)) {
for (int j = 0; j < 16; j++) {
sprintf(md5str + j*2, "%02x", (int)md5sum[j]);
}