diff options
author | Scott Stone <tafoid@users.noreply.github.com> | 2013-11-04 18:35:03 +0000 |
---|---|---|
committer | Scott Stone <tafoid@users.noreply.github.com> | 2013-11-04 18:35:03 +0000 |
commit | c2bbf79e105d027da982d175e5ca5dbcf5727821 (patch) | |
tree | d22d451efc40f9c65a13727ad41736a1c131f9a6 /src/emu/info.c | |
parent | b7627dda188fbfd7661f23a8806694e6fdb9fa57 (diff) |
- wboy4 documentation updates. [Irongiant]
- Small fix for -listxml dumps regarding output of DIP switches. [Andreas Singer]
- Atari 7800 palette value fix (nw)
Diffstat (limited to 'src/emu/info.c')
-rw-r--r-- | src/emu/info.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/info.c b/src/emu/info.c index e31877370b3..73cddd4a41b 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -1083,7 +1083,9 @@ void info_xml_creator::output_switches(const ioport_list &portlist, const char * newtag.substr(newtag.find(oldtag.cat(root_tag)) + oldtag.len()); // output the switch name information - output.catprintf("\t\t<%s name=\"%s\" tag=\"%s\" mask=\"%u\">\n", outertag, xml_normalize_string(field->name()), xml_normalize_string(newtag), field->mask()); + astring normalized_field_name(xml_normalize_string(field->name())); + astring normalized_newtag(xml_normalize_string(newtag)); + output.catprintf("\t\t<%s name=\"%s\" tag=\"%s\" mask=\"%u\">\n", outertag, normalized_field_name.cstr(), normalized_newtag.cstr(), field->mask()); // loop over settings for (ioport_setting *setting = field->first_setting(); setting != NULL; setting = setting->next()) |