diff options
| author | Tilka <tilkax@gmail.com> | 2020-02-10 09:33:29 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-10 09:33:29 +0000 |
| commit | 103b3abf666743fa01682aa30aa2e5a5ba05205c (patch) | |
| tree | fe9afbacc177d5365666eef820ad36bf68990776 /Source/Core/DiscIO/VolumeVerifier.cpp | |
| parent | ce1bc0b3ca5235571434c4b19ec785baab77fe8f (diff) | |
| parent | 07df6597a59e5ec6db0d0749fd7daec701904040 (diff) | |
Merge pull request #8621 from JosJuice/volumeverifier-invalid-partition
Fix VolumeVerifier not showing a problem for invalid partitions
Diffstat (limited to 'Source/Core/DiscIO/VolumeVerifier.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeVerifier.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index eb297bf6ea..949457cd84 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -557,10 +557,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) { |
