summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-03 21:35:03 +0100
committerbunnei <bunneidev@gmail.com>2015-01-03 21:35:03 +0100
commitd66d1707cfed08624f5c49a9b4072a550034abb2 (patch)
tree294a677c5e17b3945365c777ee92833825e2cc64
parentMerge pull request #400 from yuriks/filesys-leak (diff)
parentFileSys: Fix crash bug in DiskFile exposed by #400 (diff)
downloadyuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.tar
yuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.tar.gz
yuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.tar.bz2
yuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.tar.lz
yuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.tar.xz
yuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.tar.zst
yuzu-d66d1707cfed08624f5c49a9b4072a550034abb2.zip
-rw-r--r--src/core/file_sys/disk_archive.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/file_sys/disk_archive.h b/src/core/file_sys/disk_archive.h
index 4663a9591..3472f6874 100644
--- a/src/core/file_sys/disk_archive.h
+++ b/src/core/file_sys/disk_archive.h
@@ -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;