mirror of
https://github.com/holub/mame
synced 2025-04-25 09:50:04 +03:00
softlist: now we suggest items in compatible lists as well, when choosing best match results. no whatsnew
This commit is contained in:
parent
8e3aa75f94
commit
7587b69055
@ -1413,7 +1413,7 @@ bool load_software_part(device_image_interface *image, const char *path, softwar
|
||||
|
||||
for (int i = 0; i < DEVINFO_STR_SWLIST_MAX - DEVINFO_STR_SWLIST_0; i++)
|
||||
{
|
||||
if (swlist->list_name[i] && *swlist->list_name[i] && (swlist->list_type == SOFTWARE_LIST_ORIGINAL_SYSTEM))
|
||||
if (swlist->list_name[i] && *swlist->list_name[i])
|
||||
{
|
||||
software_list *list = software_list_open(image->device().machine->options(), swlist->list_name[i], FALSE, NULL);
|
||||
|
||||
@ -1428,7 +1428,10 @@ bool load_software_part(device_image_interface *image, const char *path, softwar
|
||||
|
||||
if (matches[0] != 0)
|
||||
{
|
||||
mame_printf_error("* Software list \"%s\" matches: \n", software_list_get_description(list));
|
||||
if (swlist->list_type == SOFTWARE_LIST_ORIGINAL_SYSTEM)
|
||||
mame_printf_error("* Software list \"%s\" (%s) matches: \n", swlist->list_name[i], software_list_get_description(list));
|
||||
else
|
||||
mame_printf_error("* Compatible software list \"%s\" (%s) matches: \n", swlist->list_name[i], software_list_get_description(list));
|
||||
|
||||
// print them out
|
||||
for (softnum = 0; softnum < ARRAY_LENGTH(matches); softnum++)
|
||||
|
Loading…
Reference in New Issue
Block a user