WIA: Properly check for overlapping data

This commit is contained in:
JosJuice
2020-01-27 14:26:12 +01:00
parent 04089f24f9
commit 47067f661a
2 changed files with 40 additions and 4 deletions

View File

@ -261,6 +261,7 @@ private:
explicit WIAFileReader(File::IOFile file, const std::string& path);
bool Initialize(const std::string& path);
bool HasDataOverlap() const;
bool ReadFromGroups(u64* offset, u64* size, u8** out_ptr, u64 chunk_size, u32 sector_size,
u64 data_offset, u64 data_size, u32 group_index, u32 number_of_groups,