From c8d42e32ed31aefbb331da861c25e99e6143cec3 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 27 Dec 2021 03:47:52 +0000 Subject: [PATCH] GameDB: Properly use vuRoundMode child node --- pcsx2/GameDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GameDatabase.cpp b/pcsx2/GameDatabase.cpp index 62773d787e..8640a49fca 100644 --- a/pcsx2/GameDatabase.cpp +++ b/pcsx2/GameDatabase.cpp @@ -108,7 +108,7 @@ void parseAndInsert(const std::string_view& serial, const c4::yml::NodeRef& node node["roundModes"]["eeRoundMode"] >> eeVal; gameEntry.eeRoundMode = static_cast(eeVal); } - if (node.has_child("vuRoundMode")) + if (node["roundModes"].has_child("vuRoundMode")) { int vuVal = -1; node["roundModes"]["vuRoundMode"] >> vuVal;