Merge pull request #8782 from Pokechu22/missing-serial-version-data

Explain how to fix "Serial and/or version data is missing"
This commit is contained in:
Léo Lam 2020-10-23 20:44:06 +02:00 committed by GitHub
commit 285b926e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,7 +312,11 @@ std::vector<RedumpVerifier::PotentialMatch> RedumpVerifier::ScanDatfile(const st
// so show a panic alert rather than just using ERROR_LOG
// i18n: "Serial" refers to serial numbers, e.g. RVL-RSBE-USA
PanicAlertT("Serial and/or version data is missing from %s", GetPathForSystem(system).c_str());
PanicAlertT("Serial and/or version data is missing from %s\n"
"Please append \"%s\" (without the quotes) to the datfile URL when downloading\n"
"Example: %s",
GetPathForSystem(system).c_str(), "serial,version",
"http://redump.org/datfile/gc/serial,version");
m_result = {Status::Error, Common::GetStringT("Failed to parse Redump.org data")};
return {};
}