summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeVerifier.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-07-04 20:24:26 +0200
committerJosJuice <josjuice@gmail.com>2020-07-04 20:24:26 +0200
commit74f74ac9288828243b93a96dc9dd4b1857219f06 (patch)
tree46630ef32905fef1f539dae59f6eca405f342953 /Source/Core/DiscIO/VolumeVerifier.cpp
parent4f98653ec63fed64a4f69f5cdea53020661e6e70 (diff)
DiscIO: Use Volume::IsDatelDisc in VolumeVerifier
I forgot to do this in the PR where I added Volume::IsDatelDisc.
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();