Ignore Log subsection for config obsolete check

This commit is contained in:
RipleyTom 2021-11-25 16:03:32 +01:00 committed by Megamouse
parent 5e158bd3f2
commit 276ee81da8

View File

@ -201,6 +201,12 @@ bool emu_settings::ValidateSettings(bool cleanup)
if (cfg_node)
{
// Ignore every node in Log subsection
if (level == 0 && cfg_node->get_name() == "Log")
{
continue;
}
YAML::Node next_node = yml_node[key];
search_level(next_level, next_node, keys, cfg_node);
}