aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2008-09-30 09:12:02 +0000
committerMax Horn2008-09-30 09:12:02 +0000
commit7c0b2cfd277569fdbd2b3a99faa8ed05dc794f5a (patch)
tree251b4b715803d5ece6b94dd1aa02d65f3161169d /engines/scumm
parentd4a76c026febb9067226e130827de034a0ec0eef (diff)
downloadscummvm-rg350-7c0b2cfd277569fdbd2b3a99faa8ed05dc794f5a.tar.gz
scummvm-rg350-7c0b2cfd277569fdbd2b3a99faa8ed05dc794f5a.tar.bz2
scummvm-rg350-7c0b2cfd277569fdbd2b3a99faa8ed05dc794f5a.zip
Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName()
svn-id: r34696
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/resource.cpp b/engines/scumm/resource.cpp
index 50e0d221ca..87ded6723b 100644
--- a/engines/scumm/resource.cpp
+++ b/engines/scumm/resource.cpp
@@ -676,7 +676,7 @@ int ScummEngine::loadResource(int type, int idx) {
if (tag != _res->tags[type] && _game.heversion < 70) {
error("%s %d not in room %d at %d+%d in file %s",
_res->name[type], idx, roomNr,
- _fileOffset, fileOffs, _fileHandle->name());
+ _fileOffset, fileOffs, _fileHandle->getName());
}
size = _fileHandle->readUint32BE();