diff options
Diffstat (limited to 'src/emu/config.cpp')
-rw-r--r-- | src/emu/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/config.cpp b/src/emu/config.cpp index abef9a4239b..42126dcad88 100644 --- a/src/emu/config.cpp +++ b/src/emu/config.cpp @@ -257,7 +257,7 @@ int configuration_manager::save_xml(emu_file &file, config_type which_type) type.save(which_type, curnode); /* if nothing was added, just nuke the node */ - if (!curnode->get_value() && !curnode->get_first_child()) + if (!curnode->get_value() && !curnode->get_first_child() && !curnode->count_attributes()) curnode->delete_node(); } |