summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-08-01 15:43:56 -0700
committerDentomologist <dentomologist@gmail.com>2025-08-01 16:04:53 -0700
commit38accd7fc3b77e301218296ce4523dd9f6e9d809 (patch)
tree64e228b6d5bbc64be6d6503ba571325ad5f7cfdd /Source
parentcc3a13d4e4b29509d273b038117264e2ff137131 (diff)
GameTracker: Fix games not being displayed
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt/GameList/GameTracker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/GameList/GameTracker.cpp b/Source/Core/DolphinQt/GameList/GameTracker.cpp
index 8f6f76e39a..5b15bfc53c 100644
--- a/Source/Core/DolphinQt/GameList/GameTracker.cpp
+++ b/Source/Core/DolphinQt/GameList/GameTracker.cpp
@@ -338,7 +338,8 @@ QSet<QString> GameTracker::FindMissingFiles(const QString& dir)
while (it->hasNext())
{
QString path = QFileInfo(it->next()).canonicalFilePath();
- m_tracked_files.remove(path);
+ if (m_tracked_files.contains(path))
+ missing_files.remove(path);
}
return missing_files;