projects/aports·blob master · refs

13 lines · 520 B

1diff --git a/pcsx2/GameDatabase.cpp b/pcsx2/GameDatabase.cpp
2index ad6a69f..542f95b 100644
3--- a/pcsx2/GameDatabase.cpp
4+++ b/pcsx2/GameDatabase.cpp
5@@ -1038,7 +1038,7 @@ static bool parseHashDatabaseEntry(const c4::yml::NodeRef& node)
6 node["serial"] >> entry.serial;
7
8 const u32 index = static_cast<u32>(s_hash_database.size());
9- for (const ryml::NodeRef& n : node["hashes"].children())
10+ for (const auto& n : node["hashes"].children())
11 {
12 if (!n.is_map() || !n.has_child("size") || !n.has_child("md5"))
13 {