VolumeVerifier: Don't consider region mismatch for placeholder game IDs

This commit is contained in:
JosJuice 2019-10-23 10:43:34 +02:00
parent 97c4e8ff3a
commit 77b9a70d6c
1 changed files with 4 additions and 1 deletions

View File

@ -540,11 +540,14 @@ void VolumeVerifier::CheckMisc()
const Region region = m_volume.GetRegion(); 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) if (game_id_encrypted.size() < 4)
{ {
AddProblem(Severity::Low, Common::GetStringT("The game ID is unusually short.")); 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; char country_code;
if (IsDisc(m_volume.GetVolumeType())) if (IsDisc(m_volume.GetVolumeType()))