From 77b9a70d6c3f97076e84896519a242817a1a688c Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 23 Oct 2019 10:43:34 +0200 Subject: [PATCH] VolumeVerifier: Don't consider region mismatch for placeholder game IDs --- Source/Core/DiscIO/VolumeVerifier.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/DiscIO/VolumeVerifier.cpp b/Source/Core/DiscIO/VolumeVerifier.cpp index 7ca0c32391..5956eb9bac 100644 --- a/Source/Core/DiscIO/VolumeVerifier.cpp +++ b/Source/Core/DiscIO/VolumeVerifier.cpp @@ -540,11 +540,14 @@ void VolumeVerifier::CheckMisc() const Region region = m_volume.GetRegion(); + constexpr std::string_view GAMECUBE_PLACEHOLDER_ID = "RELSAB"; + constexpr std::string_view WII_PLACEHOLDER_ID = "RABAZZ"; + if (game_id_encrypted.size() < 4) { AddProblem(Severity::Low, Common::GetStringT("The game ID is unusually short.")); } - else + else if (game_id_encrypted != GAMECUBE_PLACEHOLDER_ID && game_id_encrypted != WII_PLACEHOLDER_ID) { char country_code; if (IsDisc(m_volume.GetVolumeType()))