VolumeVerifier: Skip "lacks some data" check for Datel discs

Turns out there's some Freeloader disc for the GC that triggers this
despite being a good dump. This warning is mostly intended to catch
Wii games that have been truncated at the 4.00 GiB or 4.38 GiB mark
anyway, and if someone does have a Datel dump that has been truncated,
they'll still get the "unusual size" warning.
This commit is contained in:
JosJuice 2022-03-12 22:24:38 +01:00
parent 905e86d754
commit 6d1a344aab
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ void VolumeVerifier::CheckVolumeSize()
}
if (m_content_index != m_content_offsets.size() || m_group_index != m_groups.size() ||
(volume_size_roughly_known && m_biggest_referenced_offset > volume_size))
(!m_is_datel && volume_size_roughly_known && m_biggest_referenced_offset > volume_size))
{
const bool second_layer_missing = is_disc && volume_size_roughly_known &&
volume_size >= SL_DVD_SIZE && volume_size <= SL_DVD_R_SIZE;