From f9705fd1176432755df3dba0ef5c50f505193371 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Wed, 30 Oct 2019 10:12:01 +0100 Subject: Return nothing from VolumeWii::GetGameTDBID if Datel RedumpVerifier relies on this. --- Source/Core/DiscIO/VolumeGC.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Source/Core/DiscIO/VolumeGC.cpp') diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp index 8e4a33d099..9ecb8bb266 100644 --- a/Source/Core/DiscIO/VolumeGC.cpp +++ b/Source/Core/DiscIO/VolumeGC.cpp @@ -74,13 +74,11 @@ std::string VolumeGC::GetGameID(const Partition& partition) const std::string VolumeGC::GetGameTDBID(const Partition& partition) const { - 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()) + // Don't return an ID for Datel discs + if (!GetBootDOLOffset(*this, PARTITION_NONE).has_value()) return ""; - return game_id; + return GetGameID(partition); } Region VolumeGC::GetRegion() const -- cgit v1.2.3