mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
GameDB: Properly use vuRoundMode child node
This commit is contained in:
1 parent
514cc6edb8
commit
c8d42e32ed
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user