trunk/src/emu/clifront.c
| r32124 | r32125 | |
| 1293 | 1293 | { |
| 1294 | 1294 | software_list_device_iterator iter(drivlist.config().root_device()); |
| 1295 | 1295 | for (software_list_device *swlistdev = iter.first(); swlistdev != NULL; swlistdev = iter.next()) |
| 1296 | | if (swlistdev->list_type() == SOFTWARE_LIST_ORIGINAL_SYSTEM) |
| 1297 | | if (list_map.add(swlistdev->list_name(), 0, false) != TMERR_DUPLICATE) |
| 1298 | | if (swlistdev->first_software_info() != NULL) |
| 1299 | | { |
| 1300 | | if (isfirst) { fprintf(out, SOFTLIST_XML_BEGIN); isfirst = false; } |
| 1301 | | output_single_softlist(out, *swlistdev); |
| 1302 | | } |
| 1296 | if (list_map.add(swlistdev->list_name(), 0, false) != TMERR_DUPLICATE) |
| 1297 | if (swlistdev->first_software_info() != NULL) |
| 1298 | { |
| 1299 | if (isfirst) { fprintf(out, SOFTLIST_XML_BEGIN); isfirst = false; } |
| 1300 | output_single_softlist(out, *swlistdev); |
| 1301 | } |
| 1303 | 1302 | } |
| 1304 | 1303 | |
| 1305 | 1304 | if (!isfirst) |