Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/frontend/mame/infoxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ constexpr char f_dtd_string[] =
"\t\t\t<!ATTLIST disk optional (yes|no) \"no\">\n"
"\t\t<!ELEMENT device_ref EMPTY>\n"
"\t\t\t<!ATTLIST device_ref name CDATA #REQUIRED>\n"
"\t\t\t<!ATTLIST device_ref tag CDATA #REQUIRED>\n"
"\t\t<!ELEMENT sample EMPTY>\n"
"\t\t\t<!ATTLIST sample name CDATA #REQUIRED>\n"
"\t\t<!ELEMENT chip EMPTY>\n"
Expand Down Expand Up @@ -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<device_ref name=\"%s\"/>\n", util::xml::normalize_string(device.shortname()));
util::stream_format(out, "\t\t<device_ref name=\"%s\" tag=\"%s\"/>\n", util::xml::normalize_string(device.shortname()), util::xml::normalize_string(device.tag()));
}


Expand Down
Loading