mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01:00
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;
|
normal_size = DL_DVD_SIZE;
|
||||||
|
|
||||||
if (size < normal_size)
|
if (size < normal_size)
|
||||||
{
|
m_smaller_than_expected = true;
|
||||||
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."));
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
AddProblem(Severity::Low, Common::GetStringT("This disc image has an unusual size."));
|
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.");
|
"to merge them into one file.");
|
||||||
AddProblem(Severity::High, std::move(text));
|
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)
|
for (auto [partition, blocks] : m_block_errors)
|
||||||
{
|
{
|
||||||
|
@ -200,6 +200,7 @@ private:
|
|||||||
|
|
||||||
u64 m_biggest_referenced_offset = 0;
|
u64 m_biggest_referenced_offset = 0;
|
||||||
u64 m_biggest_verified_offset = 0;
|
u64 m_biggest_verified_offset = 0;
|
||||||
|
bool m_smaller_than_expected = false;
|
||||||
|
|
||||||
bool m_started = false;
|
bool m_started = false;
|
||||||
bool m_done = false;
|
bool m_done = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user