mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
infoxml.cpp: Fix attribute order [Couriersud]
Fixes QMC2 software list display.
This commit is contained in:
parent
38048f6143
commit
57bffb3b5e
@ -1950,8 +1950,8 @@ void output_software_lists(std::ostream &out, device_t &root, const char *root_t
|
|||||||
|
|
||||||
std::string newtag(swlist.tag()), oldtag(":");
|
std::string newtag(swlist.tag()), oldtag(":");
|
||||||
newtag = newtag.substr(newtag.find(oldtag.append(root_tag)) + oldtag.length());
|
newtag = newtag.substr(newtag.find(oldtag.append(root_tag)) + oldtag.length());
|
||||||
|
out << util::string_format("\t\t<softwarelist name=\"%s\" tag=\"%s\" status=\"%s\"", normalize_string(swlist.list_name().c_str()), normalize_string(newtag.c_str()), swlist.is_original() ? "original" : "compatible");
|
||||||
|
|
||||||
out << util::string_format("\t\t<softwarelist tag=\"%s\" name=\"%s\" status=\"%s\"", normalize_string(newtag.c_str()), normalize_string(swlist.list_name().c_str()), swlist.is_original() ? "original" : "compatible");
|
|
||||||
if (swlist.filter())
|
if (swlist.filter())
|
||||||
out << util::string_format(" filter=\"%s\"", normalize_string(swlist.filter()));
|
out << util::string_format(" filter=\"%s\"", normalize_string(swlist.filter()));
|
||||||
out << "/>\n";
|
out << "/>\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user