GameDB: Properly use vuRoundMode child node

This commit is contained in:
refractionpcsx2 2021-12-27 03:47:52 +00:00
parent 514cc6edb8
commit c8d42e32ed
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void parseAndInsert(const std::string_view& serial, const c4::yml::NodeRef& node
node["roundModes"]["eeRoundMode"] >> eeVal;
gameEntry.eeRoundMode = static_cast<GameDatabaseSchema::RoundMode>(eeVal);
}
if (node.has_child("vuRoundMode"))
if (node["roundModes"].has_child("vuRoundMode"))
{
int vuVal = -1;
node["roundModes"]["vuRoundMode"] >> vuVal;