mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-08 15:19:50 +00:00
Fix problems with loading a packaged mod twice. Thx to Daxar for reporting, was in fact a ttvfs bug.
This commit is contained in:
parent
00b5f46154
commit
18034bcc18
5 changed files with 33 additions and 23 deletions
|
@ -9,7 +9,7 @@ VFS_NAMESPACE_START
|
|||
class ZipFile : public File
|
||||
{
|
||||
public:
|
||||
ZipFile(const char *name, ZipArchiveRef *zref, vfspos uncompSize, unsigned int fileIdx);
|
||||
ZipFile(const char *name, ZipArchiveRef *zref, unsigned int fileIdx);
|
||||
virtual ~ZipFile();
|
||||
virtual bool open(const char *mode = NULL);
|
||||
virtual bool isopen() const;
|
||||
|
@ -29,7 +29,7 @@ protected:
|
|||
char *_buf;
|
||||
vfspos _pos;
|
||||
CountedPtr<ZipArchiveRef> _archiveHandle;
|
||||
vfspos _uncompSize;
|
||||
vfspos _bufSize;
|
||||
unsigned int _fileIdx;
|
||||
std::string _mode;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue