3
0
Fork 0
forked from suyu/suyu

Merge pull request #401 from yuriks/filesys-leak

FileSys: Fix crash bug in DiskFile exposed by #400
This commit is contained in:
bunnei 2015-01-03 15:35:03 -05:00
commit d66d1707cf

View file

@ -56,10 +56,6 @@ public:
DiskFile();
DiskFile(const DiskArchive* archive, const Path& path, const Mode mode);
~DiskFile() override {
Close();
}
bool Open() override;
size_t Read(const u64 offset, const u32 length, u8* buffer) const override;
size_t Write(const u64 offset, const u32 length, const u32 flush, const u8* buffer) const override;