clifront.c: temporarily re-enabled -listsoftware to allow more work on support in qmc2 frontend. no whatsnew.

This commit is contained in:
Fabio Priuli 2011-05-21 08:18:52 +00:00
parent 76962a2081
commit cb14c047e9
2 changed files with 4 additions and 6 deletions

View File

@ -837,8 +837,6 @@ void cli_frontend::verifysamples(const char *gamename)
}
#if 0
/*-------------------------------------------------
info_listsoftware - output the list of
software supported by a given game or set of
@ -848,7 +846,7 @@ void cli_frontend::verifysamples(const char *gamename)
identifying duplicate lists.
-------------------------------------------------*/
static void info_listsoftware(const char *gamename)
void cli_frontend::listsoftware(const char *gamename)
{
FILE *out = stdout;
@ -969,10 +967,10 @@ static void info_listsoftware(const char *gamename)
if (!seen_before)
{
lists[list_count++] = swlist->list_name[i];
lists[list_count++] = swlist->list_name[listnum];
software_list_parse( list, NULL, NULL );
fprintf(out, "\t<softwarelist name=\"%s\" description=\"%s\">\n", swlist->list_name[i], xml_normalize_string(software_list_get_description(list)) );
fprintf(out, "\t<softwarelist name=\"%s\" description=\"%s\">\n", swlist->list_name[listnum], xml_normalize_string(software_list_get_description(list)) );
for ( software_info *swinfo = software_list_find( list, "*", NULL ); swinfo != NULL; swinfo = software_list_find( list, "*", swinfo ) )
{
@ -1120,7 +1118,6 @@ static void info_listsoftware(const char *gamename)
global_free( lists );
}
#endif
//-------------------------------------------------

View File

@ -116,6 +116,7 @@ public:
void listdevices(const char *gamename = "*");
void listslots(const char *gamename = "*");
void listmedia(const char *gamename = "*");
void listsoftware(const char *gamename = "*");
void verifyroms(const char *gamename = "*");
void verifysamples(const char *gamename = "*");
void romident(const char *filename);