diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2012-06-05 18:17:31 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2012-06-05 18:17:31 +0000 |
commit | dbe8b7f762f85452f2caf5dbf510d45df1a1979d (patch) | |
tree | 7b26711aad46313c6dbc55009842840b7f81c2b5 /src/emu/info.c | |
parent | fd37f1c877a4b75f2747e82964e87bcd0d96bda0 (diff) |
Fixed for slot menus + some cleanup (nw)
Diffstat (limited to 'src/emu/info.c')
-rw-r--r-- | src/emu/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/info.c b/src/emu/info.c index fb2a8b770e4..c62dfc18c09 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -1285,9 +1285,9 @@ void info_xml_creator::output_slots(device_t &device, const char *root_tag) fprintf(m_output, "\t\t\t<slotoption"); fprintf(m_output, " name=\"%s\"", xml_normalize_string(intf[i].name)); fprintf(m_output, " devname=\"%s\"", xml_normalize_string(dev->shortname())); - if (slot->get_default_card(m_drivlist.config(), m_drivlist.options())) + if (slot->get_default_card()) { - if (strcmp(slot->get_default_card(m_drivlist.config(), m_drivlist.options()),intf[i].name)==0) + if (strcmp(slot->get_default_card(),intf[i].name)==0) fprintf(m_output, " default=\"yes\""); } fprintf(m_output, "/>\n"); |