summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-09-21 12:18:13 +0200
committerJosJuice <josjuice@gmail.com>2020-09-21 21:00:04 +0200
commit4f62960fb16eda9f4174a90bc92d5f49310a8260 (patch)
treed426f15e85e275a74c39602a9118c7a777776efe /Source/Core/DiscIO/VolumeVerifier.cpp
parent39df01434c3a6f444e658d1bea660ff2a6badcef (diff)
VolumeVerifier: Make high severity "too small" hide low severity "too small"
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 04b285cbc4..73727ff18e 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -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)
{