trunk/src/emu/diimage.c
| r32149 | r32150 | |
| 1216 | 1216 | software_list_device_iterator deviter(device().mconfig().root_device()); |
| 1217 | 1217 | for (software_list_device *swlistdev = deviter.first(); swlistdev != NULL; swlistdev = deviter.next()) |
| 1218 | 1218 | { |
| 1219 | | if (swlist_name == swlistdev->list_name()) |
| 1219 | if (swlist_name == swlistdev->list_name() || !(swlist_name.len() > 0)) |
| 1220 | 1220 | { |
| 1221 | 1221 | software_info *info = swlistdev->find(swinfo_name); |
| 1222 | 1222 | if (info != NULL) |
| r32149 | r32150 | |
| 1226 | 1226 | return part; |
| 1227 | 1227 | } |
| 1228 | 1228 | } |
| 1229 | | else if (swinfo_name == swlistdev->list_name()) |
| 1229 | |
| 1230 | if (swinfo_name == swlistdev->list_name()) |
| 1230 | 1231 | { |
| 1231 | 1232 | // ad hoc handling for the case path = swlist_name:swinfo_name (e.g. |
| 1232 | 1233 | // gameboy:sml) which is not handled properly by software_name_split |