Revert "Return nothing from VolumeWii::GetGameTDBID if Datel"

This reverts commit f9705fd117.
GameTDB.com has covers for non-GNHE5d Datel discs.
This commit is contained in:
JosJuice 2020-07-04 14:45:15 +02:00
parent 38b36536b2
commit f9aaf8b971
2 changed files with 5 additions and 7 deletions

View File

@ -59,11 +59,13 @@ const FileSystem* VolumeGC::GetFileSystem(const Partition& partition) const
std::string VolumeGC::GetGameTDBID(const Partition& partition) const
{
// Don't return an ID for Datel discs
if (!GetBootDOLOffset(*this, PARTITION_NONE).has_value())
const std::string game_id = GetGameID(partition);
// Don't return an ID for Datel discs that are using the game ID of NHL Hitz 2002
if (game_id == "GNHE5d" && !GetBootDOLOffset(*this, partition).has_value())
return "";
return GetGameID(partition);
return game_id;
}
Region VolumeGC::GetRegion() const

View File

@ -301,10 +301,6 @@ u64 VolumeWii::PartitionOffsetToRawOffset(u64 offset, const Partition& partition
std::string VolumeWii::GetGameTDBID(const Partition& partition) const
{
// Don't return an ID for Datel discs
if (m_game_partition == PARTITION_NONE)
return "";
return GetGameID(partition);
}