Fix hang bug when searching settings in the Developer Tools screen

This commit is contained in:
Henrik Rydgård committed 2025-04-30 11:50:47 +02:00
1 parent 72c35c66fd
commit fbb5d649e4
2 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -142,8 +142,8 @@ bool GameDB::GetGameInfos(std::string_view id, std::vector<GameDBInfo> *infos) {
LoadIfNeeded();
for (auto &line : lines_) {
for (auto &serial : line.serials) {
for (const auto &line : lines_) {
for (const auto serial : line.serials) {
// Ignore version and stuff for now
if (IDMatches(id, serial)) {
GameDBInfo info;