aports/testing/pcsx2/ryml.patch
2023-07-25 03:18:42 +00:00

14 lines
520 B
Diff

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