diff --git a/src/frontend/mame/infoxml.cpp b/src/frontend/mame/infoxml.cpp index 750808403a518..69749de3a7b94 100644 --- a/src/frontend/mame/infoxml.cpp +++ b/src/frontend/mame/infoxml.cpp @@ -208,6 +208,7 @@ constexpr char f_dtd_string[] = "\t\t\t\n" "\t\t\n" "\t\t\t\n" + "\t\t\t\n" "\t\t\n" "\t\t\t\n" "\t\t\n" @@ -1010,7 +1011,7 @@ void output_device_refs(std::ostream &out, device_t &root) { for (device_t &device : device_enumerator(root)) if (&device != &root) - util::stream_format(out, "\t\t\n", util::xml::normalize_string(device.shortname())); + util::stream_format(out, "\t\t\n", util::xml::normalize_string(device.shortname()), util::xml::normalize_string(device.tag())); }