diff options
Diffstat (limited to 'src/frontend/mame/clifront.cpp')
-rw-r--r-- | src/frontend/mame/clifront.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/mame/clifront.cpp b/src/frontend/mame/clifront.cpp index 7a364f4996a..3c0e5c21544 100644 --- a/src/frontend/mame/clifront.cpp +++ b/src/frontend/mame/clifront.cpp @@ -1666,7 +1666,8 @@ void cli_frontend::execute_commands(const char *exename) std::string pluginpath; while (iter.next(pluginpath)) { - plugin_opts.parse_json(pluginpath); + osd_subst_env(pluginpath, pluginpath); + plugin_opts.scan_directory(pluginpath, true); } emu_file file_plugin(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE | OPEN_FLAG_CREATE_PATHS); if (file_plugin.open("plugin.ini") != osd_file::error::NONE) |