diff options
Diffstat (limited to 'scumm/smush/chunk.cpp')
-rw-r--r-- | scumm/smush/chunk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/smush/chunk.cpp b/scumm/smush/chunk.cpp index 6df6a7fb74..04a57557f2 100644 --- a/scumm/smush/chunk.cpp +++ b/scumm/smush/chunk.cpp @@ -32,11 +32,11 @@ class FilePtr : public File { Common::String _filename; int32 _refcount; public: - FilePtr(const char *fname, const char *directory) : + FilePtr(const char *fname) : _filename(fname), _refcount(1) { debug(9, "FilePtr created for %s", fname); - open(fname, directory); + open(fname); if (isOpen() == false) error("FilePtr unable to read file %s", fname); } @@ -115,8 +115,8 @@ FileChunk::FileChunk() : _data(0) { } -FileChunk::FileChunk(const char *fname, const char *directory) { - _data = new FilePtr(fname, directory); +FileChunk::FileChunk(const char *fname) { + _data = new FilePtr(fname); _type = _data->readUint32BE(); _size = _data->readUint32BE(); _offset = sizeof(Chunk::type) + sizeof(uint32); |