diff options
Diffstat (limited to 'engines/neverhood/resourceman.cpp')
-rw-r--r-- | engines/neverhood/resourceman.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/neverhood/resourceman.cpp b/engines/neverhood/resourceman.cpp index 59e3fad14a..28f0994cb1 100644 --- a/engines/neverhood/resourceman.cpp +++ b/engines/neverhood/resourceman.cpp @@ -164,4 +164,9 @@ void ResourceMan::freeResource(Resource *resource) { resource->data = NULL; } +Common::SeekableReadStream *ResourceMan::createStream(uint32 fileHash) { + ResourceFileEntry *entry = findEntry(fileHash); + return _archives[entry->archiveIndex]->createStream(entry->entryIndex); +} + } // End of namespace Neverhood |