Fix VolumeVerifier not showing a problem for invalid partitions

This commit is contained in:
JosJuice 2020-02-09 18:58:15 +01:00
parent 166e86b97f
commit 07df6597a5
1 changed files with 4 additions and 3 deletions

View File

@ -549,10 +549,11 @@ bool VolumeVerifier::CheckPartition(const Partition& partition)
} }
} }
// The loop above ends without breaking for discs that legitimately lack updates. // The loop above ends without setting invalid_disc_header for discs that legitimately lack
// No such discs have been released to end users. Most such discs are debug signed, // 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. // 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) if (invalid_disc_header)
{ {