summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/clifront.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/clifront.c')
-rw-r--r--src/emu/clifront.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/emu/clifront.c b/src/emu/clifront.c
index a387d3eb8fc..ae9ee9e1374 100644
--- a/src/emu/clifront.c
+++ b/src/emu/clifront.c
@@ -63,6 +63,7 @@ const options_entry cli_options::s_option_entries[] =
{ CLICOMMAND_GETSOFTLIST ";glist", "0", OPTION_COMMAND, "retrieve software list by name" },
{ CLICOMMAND_VERIFYSOFTLIST ";vlist", "0", OPTION_COMMAND, "verify software list by name" },
{ CLICOMMAND_LIST_MIDI_DEVICES ";mlist", "0", OPTION_COMMAND, "list available MIDI I/O devices" },
+ { CLICOMMAND_LIST_NETWORK_ADAPTERS ";nlist", "0", OPTION_COMMAND, "list available network adapters" },
{ NULL }
};
@@ -784,6 +785,19 @@ void cli_frontend::listmididevices(const char *gamename)
//-------------------------------------------------
+// listnetworkadapters - output the list of network
+// adapters available in the current system to be used
+//-------------------------------------------------
+
+void cli_frontend::listnetworkadapters(const char *gamename)
+{
+ m_osd.network_init();
+ osd_list_network_adapters();
+ m_osd.network_exit();
+}
+
+
+//-------------------------------------------------
// verifyroms - verify the ROM sets of one or
// more games
//-------------------------------------------------
@@ -1641,6 +1655,7 @@ void cli_frontend::execute_commands(const char *exename)
{ CLICOMMAND_GETSOFTLIST, &cli_frontend::getsoftlist },
{ CLICOMMAND_VERIFYSOFTLIST, &cli_frontend::verifysoftlist },
{ CLICOMMAND_LIST_MIDI_DEVICES, &cli_frontend::listmididevices },
+ { CLICOMMAND_LIST_NETWORK_ADAPTERS, &cli_frontend::listnetworkadapters },
};
// find the command