mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
VolumeVerifier: Fix "The data partition is missing" false positive
My bad...
This commit is contained in:
@ -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."));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user