mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
DiscIO/VolumeVerifier: Don't try to verify data that would read out of bounds.
This commit is contained in:
parent
aa29433754
commit
10407cc8c1
1 changed files with 2 additions and 0 deletions
|
@ -1151,6 +1151,8 @@ void VolumeVerifier::Process()
|
||||||
excess_bytes = 0;
|
excess_bytes = 0;
|
||||||
else
|
else
|
||||||
excess_bytes -= bytes_over_max;
|
excess_bytes -= bytes_over_max;
|
||||||
|
content_read = false;
|
||||||
|
group_read = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool is_data_needed = m_calculating_any_hash || content_read || group_read;
|
const bool is_data_needed = m_calculating_any_hash || content_read || group_read;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue