Skip to content
Permalink
Browse files

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

  • Loading branch information...
JosJuice committed Oct 23, 2019
1 parent 97c4e8f commit 77b9a70d6c3f97076e84896519a242817a1a688c
Showing with 4 additions and 1 deletion.
  1. +4 −1 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()))

0 comments on commit 77b9a70

Please sign in to comment.
You can’t perform that action at this time.