summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2010-04-04 14:32:03 +0000
committer Wilbert Pol <wilbert@jdg.info>2010-04-04 14:32:03 +0000
commite147fe18dd1d764cd399ed8bbcca1271d4712273 (patch)
tree326c7e93166fd07b56689ade78e227b486465b37
parent2cafff0619efefdcda02418431595904f3efbe91 (diff)
Some MESS-only changes. No whatsnew.
-rw-r--r--src/emu/info.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/emu/info.c b/src/emu/info.c
index 2377c91fa17..94436d2c730 100644
--- a/src/emu/info.c
+++ b/src/emu/info.c
@@ -927,8 +927,7 @@ static void print_game_info(FILE *out, const game_driver *game)
print_game_adjusters(out, game, portlist);
print_game_driver(out, game, config);
#ifdef MESS
- print_game_device(out, game, config);
- print_game_ramoptions(out, game, config);
+ print_mess_game_xml(out, game, config);
#endif /* MESS */
/* close the topmost tag */
@@ -955,7 +954,7 @@ void print_mame_xml(FILE *out, const game_driver *const games[], const char *gam
"\t<!ATTLIST " XML_ROOT " debug (yes|no) \"no\">\n"
"\t<!ATTLIST " XML_ROOT " mameconfig CDATA #REQUIRED>\n"
#ifdef MESS
- "\t<!ELEMENT " XML_TOP " (description, year?, manufacturer, biosset*, rom*, disk*, sample*, chip*, display*, sound?, input?, dipswitch*, configuration*, category*, adjuster*, driver?, device*, ramoption*)>\n"
+ "\t<!ELEMENT " XML_TOP " (description, year?, manufacturer, biosset*, rom*, disk*, sample*, chip*, display*, sound?, input?, dipswitch*, configuration*, category*, adjuster*, driver?, device*, ramoption*, softwarelist*)>\n"
#else
"\t<!ELEMENT " XML_TOP " (description, year?, manufacturer, biosset*, rom*, disk*, sample*, chip*, display*, sound?, input?, dipswitch*, configuration*, category*, adjuster*, driver?)>\n"
#endif
@@ -1076,6 +1075,8 @@ void print_mame_xml(FILE *out, const game_driver *const games[], const char *gam
"\t\t\t\t<!ATTLIST extension name CDATA #REQUIRED>\n"
"\t\t<!ELEMENT ramoption (#PCDATA)>\n"
"\t\t\t<!ATTLIST ramoption default CDATA #IMPLIED>\n"
+ "\t\t<!ELEMENT softwarelist EMPTY>\n"
+ "\t\t\t<!ATTLIST softwarelist name CDATA #REQUIRED>\n"
#endif
"]>\n\n"
"<" XML_ROOT " build=\"%s\" debug=\""