mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
RedumpVerifier: Treat Datel game IDs as empty
Replacement for the reverted commit
f9705fd117
.
This commit is contained in:
parent
f24566bf39
commit
fb922781e7
1 changed files with 6 additions and 5 deletions
|
@ -56,11 +56,12 @@ RedumpVerifier::DownloadState RedumpVerifier::m_wii_download_state;
|
||||||
|
|
||||||
void RedumpVerifier::Start(const Volume& volume)
|
void RedumpVerifier::Start(const Volume& volume)
|
||||||
{
|
{
|
||||||
// We use GetGameTDBID instead of GetGameID so that Datel discs will be represented by an empty
|
if (!volume.IsDatelDisc())
|
||||||
// string, which matches Redump not having any serials for Datel discs.
|
{
|
||||||
m_game_id = volume.GetGameTDBID();
|
m_game_id = volume.GetGameID();
|
||||||
if (m_game_id.size() > 4)
|
if (m_game_id.size() > 4)
|
||||||
m_game_id = m_game_id.substr(0, 4);
|
m_game_id = m_game_id.substr(0, 4);
|
||||||
|
}
|
||||||
|
|
||||||
m_revision = volume.GetRevision().value_or(0);
|
m_revision = volume.GetRevision().value_or(0);
|
||||||
m_disc_number = volume.GetDiscNumber().value_or(0);
|
m_disc_number = volume.GetDiscNumber().value_or(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue