trunk/src/emu/clifront.c
| r29409 | r29410 | |
| 1419 | 1419 | { |
| 1420 | 1420 | software_list_device_iterator iter(drivlist.config().root_device()); |
| 1421 | 1421 | for (software_list_device *swlistdev = iter.first(); swlistdev != NULL; swlistdev = iter.next()) |
| 1422 | | if (core_strwildcmp(swlistdev->list_name(), gamename) == 0 && list_map.add(swlistdev->list_name(), 0, false) != TMERR_DUPLICATE) |
| 1422 | if (core_strwildcmp(gamename, swlistdev->list_name()) == 0 && list_map.add(swlistdev->list_name(), 0, false) != TMERR_DUPLICATE) |
| 1423 | 1423 | if (swlistdev->first_software_info() != NULL) |
| 1424 | 1424 | { |
| 1425 | 1425 | if (isfirst) { fprintf( out, SOFTLIST_XML_BEGIN); isfirst = FALSE; } |
| r29409 | r29410 | |
| 1452 | 1452 | { |
| 1453 | 1453 | software_list_device_iterator iter(drivlist.config().root_device()); |
| 1454 | 1454 | for (software_list_device *swlistdev = iter.first(); swlistdev != NULL; swlistdev = iter.next()) |
| 1455 | | if (core_strwildcmp(swlistdev->list_name(), gamename) == 0 && list_map.add(swlistdev->list_name(), 0, false) != TMERR_DUPLICATE) |
| 1455 | if (core_strwildcmp(gamename, swlistdev->list_name()) == 0 && list_map.add(swlistdev->list_name(), 0, false) != TMERR_DUPLICATE) |
| 1456 | 1456 | if (swlistdev->first_software_info() != NULL) |
| 1457 | 1457 | { |
| 1458 | 1458 | matched++; |