GameDB: Add name-sort and name-en fields

This commit is contained in:
TellowKrinkle authored and TellowKrinkle committed 2023-10-15 01:11:35 -05:00
1 parent 0b5c070ad1
commit 37aa481dd0
6 files changed
+35 -7

No files matched your search

+8
View File
@@ -103,6 +103,14 @@ void GameDatabase::parseAndInsert(const std::string_view& serial, const c4::yml:
{
node["name"] >> gameEntry.name;
}
if (node.has_child("name-sort"))
{
node["name-sort"] >> gameEntry.name_sort;
}
if (node.has_child("name-en"))
{
node["name-en"] >> gameEntry.name_en;
}
if (node.has_child("region"))
{
node["region"] >> gameEntry.region;