From ceb79083c19acc82c3c7526ff7bda63d9d858163 Mon Sep 17 00:00:00 2001 From: npwoods Date: Sun, 14 Dec 2025 13:01:15 -0500 Subject: Added `tag` attribute to Info XML `` elements (#14641) * Added `tag` attribute to Info XML `` elements * Added entry in DTD for `` --- src/frontend/mame/infoxml.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/frontend/mame/infoxml.cpp b/src/frontend/mame/infoxml.cpp index 750808403a5..69749de3a7b 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())); } -- cgit v1.2.3