diff --git a/src/core/game_list.cpp b/src/core/game_list.cpp index c4f012da9..1b84f212e 100644 --- a/src/core/game_list.cpp +++ b/src/core/game_list.cpp @@ -1388,7 +1388,7 @@ GameList::GetMatchingEntriesForSerial(const std::span serials for (const Entry& entry : s_entries) { - if (entry.serial != serial) + if (entry.IsDiscSet() || entry.serial != serial) continue; if (!matching_entry) @@ -1409,7 +1409,7 @@ GameList::GetMatchingEntriesForSerial(const std::span serials // Have to add all matching files. for (const Entry& entry : s_entries) { - if (entry.serial != serial) + if (entry.IsDiscSet() || entry.serial != serial) continue; ret.emplace_back(Path::GetFileName(entry.path), &entry);