mirror of
https://github.com/holub/mame
synced 2025-05-28 08:33:05 +03:00
Added back the hook to -listmedia option used by MESS
This commit is contained in:
parent
2244f9274d
commit
576dfd4d9d
@ -95,6 +95,9 @@ static const options_entry cli_options[] =
|
||||
{ "verifysamples", "0", OPTION_COMMAND, "report samplesets that have problems" },
|
||||
{ "romident", "0", OPTION_COMMAND, "compare files with known MAME roms" },
|
||||
{ "listdevices;ld", "0", OPTION_COMMAND, "list available devices" },
|
||||
#ifdef MESS
|
||||
{ "listmedia;lm", "0", OPTION_COMMAND, "list available media for the system" },
|
||||
#endif
|
||||
|
||||
{ NULL }
|
||||
};
|
||||
@ -270,6 +273,9 @@ static int execute_commands(core_options *options, const char *exename, const ga
|
||||
{ CLIOPTION_VERIFYROMS, info_verifyroms },
|
||||
{ CLIOPTION_VERIFYSAMPLES, info_verifysamples },
|
||||
{ CLIOPTION_ROMIDENT, info_romident }
|
||||
#ifdef MESS
|
||||
{ CLIOPTION_LISTMEDIA, info_listmedia },
|
||||
#endif
|
||||
};
|
||||
int i;
|
||||
|
||||
|
@ -38,6 +38,7 @@
|
||||
#define CLIOPTION_VERIFYROMS "verifyroms"
|
||||
#define CLIOPTION_VERIFYSAMPLES "verifysamples"
|
||||
#define CLIOPTION_ROMIDENT "romident"
|
||||
#define CLIOPTION_LISTMEDIA "listmedia" // needed by MESS
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user