diff options
| author | JosJuice <josjuice@gmail.com> | 2020-07-04 14:45:15 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-07-04 14:45:15 +0200 |
| commit | f9aaf8b9715470f0fd9182164fc6bd3c0443453b (patch) | |
| tree | 6e42731f49eaa07785c91751f667d72cfd94a432 /Source/Core/DiscIO/VolumeGC.cpp | |
| parent | 38b36536b2ccefd2bd552df040c706775b8396e8 (diff) | |
Revert "Return nothing from VolumeWii::GetGameTDBID if Datel"
This reverts commit f9705fd1176432755df3dba0ef5c50f505193371.
GameTDB.com has covers for non-GNHE5d Datel discs.
Diffstat (limited to 'Source/Core/DiscIO/VolumeGC.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeGC.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp index 83b0d3dd00..cb8c26f73e 100644 --- a/Source/Core/DiscIO/VolumeGC.cpp +++ b/Source/Core/DiscIO/VolumeGC.cpp @@ -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 |
