summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-03-11 16:13:47 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-03-11 16:14:56 -0500
commitfd44364e2451fd4755e7c38c3f3ae0da9e2af355 (patch)
tree11f750f2b8514b8dec7d4e9b3f249bc671f80dc2
parentd0bbcc1ea32c2fd51f8d8513a9748fd277055197 (diff)
Include devices in -listxml with * or no argument (nw)
-rw-r--r--src/frontend/mame/clifront.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/clifront.cpp b/src/frontend/mame/clifront.cpp
index 092fb25d8da..7693789fe0a 100644
--- a/src/frontend/mame/clifront.cpp
+++ b/src/frontend/mame/clifront.cpp
@@ -327,7 +327,7 @@ void cli_frontend::listxml(const char *gamename)
throw emu_fatalerror(EMU_ERR_NO_SUCH_GAME, "No matching games found for '%s'", gamename);
// create the XML and print it to stdout
- info_xml_creator creator(drivlist, gamename && *gamename);
+ info_xml_creator creator(drivlist, gamename && *gamename && strcmp(gamename, "*") != 0);
creator.output(stdout);
}