Previous 199869 Revisions Next

r32150 Wednesday 17th September, 2014 at 11:08:54 UTC by Fabio Priuli
better fix. nw.
[src/emu]diimage.c

trunk/src/emu/diimage.c
r32149r32150
12161216   software_list_device_iterator deviter(device().mconfig().root_device());
12171217   for (software_list_device *swlistdev = deviter.first(); swlistdev != NULL; swlistdev = deviter.next())
12181218   {
1219      if (swlist_name == swlistdev->list_name())
1219      if (swlist_name == swlistdev->list_name() || !(swlist_name.len() > 0))
12201220      {
12211221         software_info *info = swlistdev->find(swinfo_name);
12221222         if (info != NULL)
r32149r32150
12261226               return part;
12271227         }
12281228      }
1229      else if (swinfo_name == swlistdev->list_name())
1229
1230      if (swinfo_name == swlistdev->list_name())
12301231      {
12311232         // ad hoc handling for the case path = swlist_name:swinfo_name (e.g.
12321233         // gameboy:sml) which is not handled properly by software_name_split

Previous 199869 Revisions Next


© 1997-2024 The MAME Team