mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
clifront.c: added "-lsoft" option as short version of "-listsoftware" [Fabio Priuli]
out of whatsnew: I also have modified best match for softlists to return 10 results, like in MAME, given that now only the correct list is parsed (thanks to Micko's change)
This commit is contained in:
parent
4e0a81e250
commit
768e020c3a
@ -97,7 +97,7 @@ static const options_entry cli_options[] =
|
||||
{ "romident", "0", OPTION_COMMAND, "compare files with known MAME roms" },
|
||||
{ "listdevices;ld", "0", OPTION_COMMAND, "list available devices" },
|
||||
{ "listmedia;lm", "0", OPTION_COMMAND, "list available media for the system" },
|
||||
{ "listsoftware", "0", OPTION_COMMAND, "list known software for the system" },
|
||||
{ "listsoftware;lsoft", "0", OPTION_COMMAND, "list known software for the system" },
|
||||
|
||||
{ NULL }
|
||||
};
|
||||
|
@ -1326,7 +1326,7 @@ bool load_software_part(device_image_interface *image, const char *path, softwar
|
||||
|
||||
if (list)
|
||||
{
|
||||
software_info *matches[5] = { 0 };
|
||||
software_info *matches[10] = { 0 };
|
||||
int softnum;
|
||||
|
||||
software_list_parse(list, list->error_proc, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user