mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-06 15:39:08 +01:00
FileSys: Fix crash bug in DiskFile exposed by #400
This commit is contained in:
parent
19b2e739c5
commit
930e13cb2c
1 changed files with 0 additions and 4 deletions
|
@ -56,10 +56,6 @@ public:
|
||||||
DiskFile();
|
DiskFile();
|
||||||
DiskFile(const DiskArchive* archive, const Path& path, const Mode mode);
|
DiskFile(const DiskArchive* archive, const Path& path, const Mode mode);
|
||||||
|
|
||||||
~DiskFile() override {
|
|
||||||
Close();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Open() override;
|
bool Open() override;
|
||||||
size_t Read(const u64 offset, const u32 length, u8* buffer) const 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;
|
size_t Write(const u64 offset, const u32 length, const u32 flush, const u8* buffer) const override;
|
||||||
|
|
Loading…
Reference in a new issue