aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2009-01-23 04:45:44 +0000
committerMax Horn2009-01-23 04:45:44 +0000
commit14c5bbbccf30f333b92092ca55063b338335c3a5 (patch)
tree80cfc99351a2333461bbbb6e9437780921ad2edb /engines/scumm
parent9861afd8fde386ffc740ab12fad26f2d41213821 (diff)
downloadscummvm-rg350-14c5bbbccf30f333b92092ca55063b338335c3a5.tar.gz
scummvm-rg350-14c5bbbccf30f333b92092ca55063b338335c3a5.tar.bz2
scummvm-rg350-14c5bbbccf30f333b92092ca55063b338335c3a5.zip
Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/resource_he.cpp2
-rw-r--r--engines/scumm/he/script_v60he.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/resource_he.cpp b/engines/scumm/he/resource_he.cpp
index ebe13f29a4..1b5b467512 100644
--- a/engines/scumm/he/resource_he.cpp
+++ b/engines/scumm/he/resource_he.cpp
@@ -167,7 +167,7 @@ int Win32ResExtractor::extractResource_(const char *resType, char *resName, byte
}
/* get file size */
- fi.file = SearchMan.openFile(_fileName);
+ fi.file = SearchMan.createReadStreamForMember(_fileName);
if (!fi.file) {
error("Cannot open file %s", _fileName.c_str());
}
diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp
index 8cf74983ca..86ce492033 100644
--- a/engines/scumm/he/script_v60he.cpp
+++ b/engines/scumm/he/script_v60he.cpp
@@ -1010,7 +1010,7 @@ void ScummEngine_v60he::o60_openFile() {
// TODO / FIXME: Consider using listSavefiles to avoid unneccessary openForLoading calls
_hInFileTable[slot] = _saveFileMan->openForLoading(filename);
if (_hInFileTable[slot] == 0) {
- _hInFileTable[slot] = SearchMan.openFile(filename);
+ _hInFileTable[slot] = SearchMan.createReadStreamForMember(filename);
}
break;
case 2: