diff options
Diffstat (limited to 'src/emu/mame.c')
-rw-r--r-- | src/emu/mame.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/emu/mame.c b/src/emu/mame.c index b58aa4b05a8..e66d98dbbc4 100644 --- a/src/emu/mame.c +++ b/src/emu/mame.c @@ -148,6 +148,14 @@ int mame_execute(emu_options &options, osd_interface &osd) bool exit_pending = false; int error = MAMERR_NONE; + // We need to preprocess the config files once to determine the web server's configuration + if (options.read_config()) + { + options.revert(OPTION_PRIORITY_INI); + astring errors; + options.parse_standard_inis(errors); + } + web_engine web(options); while (error == MAMERR_NONE && !exit_pending) |