mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #18389 from hrydgard/disable-negative-messages
Redump checks: Disable negative messages
This commit is contained in:
commit
b01ec488d6
1 changed files with 13 additions and 12 deletions
|
@ -321,27 +321,28 @@ void GameScreen::render() {
|
||||||
found = true;
|
found = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
|
||||||
if (found) {
|
if (found) {
|
||||||
tvVerified_->SetText(ga->T("ISO OK according to the Redump project"));
|
tvVerified_->SetText(ga->T("ISO OK according to the Redump project"));
|
||||||
tvVerified_->SetLevel(NoticeLevel::SUCCESS);
|
tvVerified_->SetLevel(NoticeLevel::SUCCESS);
|
||||||
|
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
tvVerified_->SetText(ga->T("CRC checksum does not match, bad or modified ISO"));
|
// Like the other messages below, disabled until we have a database we have confidence in.
|
||||||
tvVerified_->SetLevel(NoticeLevel::ERROR);
|
// tvVerified_->SetText(ga->T("CRC checksum does not match, bad or modified ISO"));
|
||||||
|
// tvVerified_->SetLevel(NoticeLevel::ERROR);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
tvVerified_->SetText(ga->T("Game ID unknown - not in the Redump database"));
|
// tvVerified_->SetText(ga->T("Game ID unknown - not in the Redump database"));
|
||||||
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
// tvVerified_->SetVisibility(UI::V_VISIBLE);
|
||||||
tvVerified_->SetLevel(NoticeLevel::WARN);
|
// tvVerified_->SetLevel(NoticeLevel::WARN);
|
||||||
}
|
}
|
||||||
} else if (!isHomebrew_) {
|
} else if (!isHomebrew_) {
|
||||||
GameDBInfo dbInfo;
|
GameDBInfo dbInfo;
|
||||||
if (tvVerified_) {
|
if (tvVerified_) {
|
||||||
std::vector<GameDBInfo> dbInfos;
|
std::vector<GameDBInfo> dbInfos;
|
||||||
if (!g_gameDB.GetGameInfos(info->id_version, &dbInfos)) {
|
if (!g_gameDB.GetGameInfos(info->id_version, &dbInfos)) {
|
||||||
tvVerified_->SetText(ga->T("Game ID unknown - not in the ReDump database"));
|
// tvVerified_->SetText(ga->T("Game ID unknown - not in the ReDump database"));
|
||||||
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
// tvVerified_->SetVisibility(UI::V_VISIBLE);
|
||||||
tvVerified_->SetLevel(NoticeLevel::WARN);
|
// tvVerified_->SetLevel(NoticeLevel::WARN);
|
||||||
} else if (info->gameSizeUncompressed != 0) { // don't do this check if info still pending
|
} else if (info->gameSizeUncompressed != 0) { // don't do this check if info still pending
|
||||||
bool found = false;
|
bool found = false;
|
||||||
for (auto &dbInfo : dbInfos) {
|
for (auto &dbInfo : dbInfos) {
|
||||||
|
@ -351,9 +352,9 @@ void GameScreen::render() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!found) {
|
if (!found) {
|
||||||
tvVerified_->SetText(ga->T("File size incorrect, bad or modified ISO"));
|
// tvVerified_->SetText(ga->T("File size incorrect, bad or modified ISO"));
|
||||||
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
// tvVerified_->SetVisibility(UI::V_VISIBLE);
|
||||||
tvVerified_->SetLevel(NoticeLevel::ERROR);
|
// tvVerified_->SetLevel(NoticeLevel::ERROR);
|
||||||
} else {
|
} else {
|
||||||
tvVerified_->SetText(ga->T("Click \"Calculate CRC\" to verify ISO"));
|
tvVerified_->SetText(ga->T("Click \"Calculate CRC\" to verify ISO"));
|
||||||
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
tvVerified_->SetVisibility(UI::V_VISIBLE);
|
||||||
|
|
Loading…
Add table
Reference in a new issue