summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWii.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DiscIO/VolumeWii.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWii.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/VolumeWii.cpp b/Source/Core/DiscIO/VolumeWii.cpp
index 5b6524f807..bc39a7aae4 100644
--- a/Source/Core/DiscIO/VolumeWii.cpp
+++ b/Source/Core/DiscIO/VolumeWii.cpp
@@ -313,6 +313,10 @@ std::string VolumeWii::GetGameID(const Partition& partition) const
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);
}