aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/file/BPkgFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/base/file/BPkgFile.cpp')
-rw-r--r--engines/wintermute/base/file/BPkgFile.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/wintermute/base/file/BPkgFile.cpp b/engines/wintermute/base/file/BPkgFile.cpp
index 3acde9c1ff..5e1ebc5922 100644
--- a/engines/wintermute/base/file/BPkgFile.cpp
+++ b/engines/wintermute/base/file/BPkgFile.cpp
@@ -39,6 +39,9 @@
namespace WinterMute {
+// This file is only needed until the next merge/rebase, as wrapCompressedStream now can set a known size
+// as such it is not renamed to follow the convention of the rest of the files.
+
// HACK: wrapCompressedStream might set the size to 0, so we need a way to override it.
class CBPkgFile : public Common::SeekableReadStream {
uint32 _size;
@@ -65,8 +68,8 @@ public:
}
};
-Common::SeekableReadStream *openPkgFile(const Common::String &filename, CBFileManager *fileManager) {
- CBFileEntry *fileEntry;
+Common::SeekableReadStream *openPkgFile(const Common::String &filename, BaseFileManager *fileManager) {
+ BaseFileEntry *fileEntry;
Common::SeekableReadStream *file = NULL;
char fileName[MAX_PATH_LENGTH];
strcpy(fileName, filename.c_str());