VolumeVerifier: Make high severity "too small" hide low severity "too small"
This commit is contained in:
parent
39df01434c
commit
4f62960fb1
|
@ -780,18 +780,9 @@ void VolumeVerifier::CheckDiscSize(const std::vector<Partition>& partitions)
|
|||
normal_size = DL_DVD_SIZE;
|
||||
|
||||
if (size < normal_size)
|
||||
{
|
||||
AddProblem(
|
||||
Severity::Low,
|
||||
Common::GetStringT(
|
||||
"This disc image has an unusual size. This will likely make the emulated "
|
||||
"loading times longer. You will likely be unable to share input recordings "
|
||||
"and use NetPlay with anyone who is using a good dump."));
|
||||
}
|
||||
m_smaller_than_expected = true;
|
||||
else
|
||||
{
|
||||
AddProblem(Severity::Low, Common::GetStringT("This disc image has an unusual size."));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1323,6 +1314,14 @@ void VolumeVerifier::Finish()
|
|||
"to merge them into one file.");
|
||||
AddProblem(Severity::High, std::move(text));
|
||||
}
|
||||
else if (m_smaller_than_expected)
|
||||
{
|
||||
AddProblem(Severity::Low,
|
||||
Common::GetStringT(
|
||||
"This disc image has an unusual size. This will likely make the emulated "
|
||||
"loading times longer. You will likely be unable to share input recordings "
|
||||
"and use NetPlay with anyone who is using a good dump."));
|
||||
}
|
||||
|
||||
for (auto [partition, blocks] : m_block_errors)
|
||||
{
|
||||
|
|
|
@ -200,6 +200,7 @@ private:
|
|||
|
||||
u64 m_biggest_referenced_offset = 0;
|
||||
u64 m_biggest_verified_offset = 0;
|
||||
bool m_smaller_than_expected = false;
|
||||
|
||||
bool m_started = false;
|
||||
bool m_done = false;
|
||||
|
|
Loading…
Reference in New Issue