summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-08-01 18:28:35 -0500
committerGitHub <noreply@github.com>2025-08-01 18:28:35 -0500
commit6ca486ffb20bd20d8e3efa20f5dc45beb18613c2 (patch)
tree64e228b6d5bbc64be6d6503ba571325ad5f7cfdd
parentcc3a13d4e4b29509d273b038117264e2ff137131 (diff)
parent38accd7fc3b77e301218296ce4523dd9f6e9d809 (diff)
Merge pull request #13843 from Dentomologist/gamelist_fix_games_not_being_displayed
Game List: Fix games not being displayed
-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;