From 768e020c3ab3b367fc3c8caf53978afde0a6dcac Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Fri, 14 Jan 2011 07:56:29 +0000 Subject: [PATCH] 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) --- src/emu/clifront.c | 2 +- src/emu/softlist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/clifront.c b/src/emu/clifront.c index 325bcf31ba4..62fabaa2210 100644 --- a/src/emu/clifront.c +++ b/src/emu/clifront.c @@ -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 } }; diff --git a/src/emu/softlist.c b/src/emu/softlist.c index d1bdab57221..21f502c5d41 100644 --- a/src/emu/softlist.c +++ b/src/emu/softlist.c @@ -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);