From 9745995e4bd9a6155da9d106a36d3e5cc5019cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 30 Oct 2023 00:22:49 -0600 Subject: [PATCH] Redump checks: Disable negativem messages The current database has issues as mentioned in #18387. Until this is resolved and until we have confidence in the DB, don't be so loud about ISOs possibly being bad. --- UI/GameScreen.cpp | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/UI/GameScreen.cpp b/UI/GameScreen.cpp index f8f30aba32..91073e5d74 100644 --- a/UI/GameScreen.cpp +++ b/UI/GameScreen.cpp @@ -321,27 +321,28 @@ void GameScreen::render() { found = true; } } - tvVerified_->SetVisibility(UI::V_VISIBLE); if (found) { tvVerified_->SetText(ga->T("ISO OK according to the Redump project")); tvVerified_->SetLevel(NoticeLevel::SUCCESS); + tvVerified_->SetVisibility(UI::V_VISIBLE); } else { - tvVerified_->SetText(ga->T("CRC checksum does not match, bad or modified ISO")); - tvVerified_->SetLevel(NoticeLevel::ERROR); + // Like the other messages below, disabled until we have a database we have confidence in. + // tvVerified_->SetText(ga->T("CRC checksum does not match, bad or modified ISO")); + // tvVerified_->SetLevel(NoticeLevel::ERROR); } } else { - tvVerified_->SetText(ga->T("Game ID unknown - not in the Redump database")); - tvVerified_->SetVisibility(UI::V_VISIBLE); - tvVerified_->SetLevel(NoticeLevel::WARN); + // tvVerified_->SetText(ga->T("Game ID unknown - not in the Redump database")); + // tvVerified_->SetVisibility(UI::V_VISIBLE); + // tvVerified_->SetLevel(NoticeLevel::WARN); } } else if (!isHomebrew_) { GameDBInfo dbInfo; if (tvVerified_) { std::vector dbInfos; if (!g_gameDB.GetGameInfos(info->id_version, &dbInfos)) { - tvVerified_->SetText(ga->T("Game ID unknown - not in the ReDump database")); - tvVerified_->SetVisibility(UI::V_VISIBLE); - tvVerified_->SetLevel(NoticeLevel::WARN); + // tvVerified_->SetText(ga->T("Game ID unknown - not in the ReDump database")); + // tvVerified_->SetVisibility(UI::V_VISIBLE); + // tvVerified_->SetLevel(NoticeLevel::WARN); } else if (info->gameSizeUncompressed != 0) { // don't do this check if info still pending bool found = false; for (auto &dbInfo : dbInfos) { @@ -351,9 +352,9 @@ void GameScreen::render() { } } if (!found) { - tvVerified_->SetText(ga->T("File size incorrect, bad or modified ISO")); - tvVerified_->SetVisibility(UI::V_VISIBLE); - tvVerified_->SetLevel(NoticeLevel::ERROR); + // tvVerified_->SetText(ga->T("File size incorrect, bad or modified ISO")); + // tvVerified_->SetVisibility(UI::V_VISIBLE); + // tvVerified_->SetLevel(NoticeLevel::ERROR); } else { tvVerified_->SetText(ga->T("Click \"Calculate CRC\" to verify ISO")); tvVerified_->SetVisibility(UI::V_VISIBLE);