Skip to content

Commit

Permalink
Merge pull request #8442 from JosJuice/data-partition-missing
Browse files Browse the repository at this point in the history
VolumeVerifier: Fix "The data partition is missing" false positive
  • Loading branch information
lioncash committed Oct 30, 2019
2 parents a52b875 + e2ef248 commit 4f5badb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DiscIO/VolumeVerifier.cpp
Expand Up @@ -419,7 +419,7 @@ void VolumeVerifier::CheckPartitions()
AddProblem(Severity::Low, Common::GetStringT("The update partition is missing.")); AddProblem(Severity::Low, Common::GetStringT("The update partition is missing."));


const bool has_data_partition = const bool has_data_partition =
std::find(types.cbegin(), types.cend(), PARTITION_DATA) == types.cend(); std::find(types.cbegin(), types.cend(), PARTITION_DATA) != types.cend();
if (!m_is_datel && !has_data_partition) if (!m_is_datel && !has_data_partition)
AddProblem(Severity::High, Common::GetStringT("The data partition is missing.")); AddProblem(Severity::High, Common::GetStringT("The data partition is missing."));


Expand Down

0 comments on commit 4f5badb

Please sign in to comment.