summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/infoxml.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-12-30 14:59:40 +0100
committer couriersud <couriersud@gmx.org>2019-12-30 14:59:40 +0100
commit57bffb3b5ef9f5a62d46a0cca3c83c35caa1a337 (patch)
treec3a678b7d6c86c5a8681a4a1b0ebbff944447307 /src/frontend/mame/infoxml.cpp
parent38048f61433b47fe2d670e2eb24685515d027858 (diff)
infoxml.cpp: Fix attribute order [Couriersud]
Fixes QMC2 software list display.
Diffstat (limited to 'src/frontend/mame/infoxml.cpp')
-rw-r--r--src/frontend/mame/infoxml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/infoxml.cpp b/src/frontend/mame/infoxml.cpp
index 0dc3aa5e4f6..f0b5ede5f3d 100644
--- a/src/frontend/mame/infoxml.cpp
+++ b/src/frontend/mame/infoxml.cpp
@@ -1950,8 +1950,8 @@ void output_software_lists(std::ostream &out, device_t &root, const char *root_t
std::string newtag(swlist.tag()), oldtag(":");
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())
out << util::string_format(" filter=\"%s\"", normalize_string(swlist.filter()));
out << "/>\n";