summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2020-07-05 10:37:11 +0100
committerGitHub <noreply@github.com>2020-07-05 10:37:11 +0100
commit23ecda7ed0ac46fdd568ec06d1432746605ddcde (patch)
tree46630ef32905fef1f539dae59f6eca405f342953 /Source/Core/DiscIO/VolumeVerifier.cpp
parent4f98653ec63fed64a4f69f5cdea53020661e6e70 (diff)
parent74f74ac9288828243b93a96dc9dd4b1857219f06 (diff)
Merge pull request #8931 from JosJuice/use-isdateldisc
DiscIO: Use Volume::IsDatelDisc in VolumeVerifier
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeVerifier.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp
index 9a8617c166..00e850071a 100644
--- a/Source/Core/DiscIO/VolumeVerifier.cpp
+++ b/Source/Core/DiscIO/VolumeVerifier.cpp
@@ -386,8 +386,7 @@ void VolumeVerifier::Start()
m_redump_verifier.Start(m_volume);
m_is_tgc = m_volume.GetBlobType() == BlobType::TGC;
- m_is_datel = IsDisc(m_volume.GetVolumeType()) &&
- !GetBootDOLOffset(m_volume, m_volume.GetGamePartition()).has_value();
+ m_is_datel = m_volume.IsDatelDisc();
m_is_not_retail =
(m_volume.GetVolumeType() == Platform::WiiDisc && !m_volume.IsEncryptedAndHashed()) ||
IsDebugSigned();