From e2ef2482601400b9bb2a52e1f3e6c48b387f0192 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 30 Oct 2019 09:38:18 +0100 Subject: [PATCH] VolumeVerifier: Fix "The data partition is missing" false positive My bad... --- Source/Core/DiscIO/VolumeVerifier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index aed3c87a44..5250f88244 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -419,7 +419,7 @@ void VolumeVerifier::CheckPartitions() AddProblem(Severity::Low, Common::GetStringT("The update partition is missing.")); 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) AddProblem(Severity::High, Common::GetStringT("The data partition is missing."));