From 07df6597a59e5ec6db0d0749fd7daec701904040 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 9 Feb 2020 18:58:15 +0100 Subject: [PATCH] Fix VolumeVerifier not showing a problem for invalid partitions --- Source/Core/DiscIO/VolumeVerifier.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index c0a33372db..1dd112c295 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -549,10 +549,11 @@ bool VolumeVerifier::CheckPartition(const Partition& partition) } } - // The loop above ends without breaking for discs that legitimately lack updates. - // No such discs have been released to end users. Most such discs are debug signed, + // The loop above ends without setting invalid_disc_header for discs that legitimately lack + // updates. No such discs have been released to end users. Most such discs are debug signed, // but there is apparently at least one that is retail signed, the Movie-Ch Install Disc. - return false; + if (!invalid_disc_header) + return false; } if (invalid_disc_header) {