summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/mame.c')
-rw-r--r--src/emu/mame.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/mame.c b/src/emu/mame.c
index 58b301ceccc..aaf773dfcaf 100644
--- a/src/emu/mame.c
+++ b/src/emu/mame.c
@@ -554,6 +554,9 @@ void mame_parse_ini_files(core_options *options, const game_driver *driver)
parse_ini_file(options, gparent->name, OPTION_PRIORITY_GPARENT_INI);
if (parent != NULL)
parse_ini_file(options, parent->name, OPTION_PRIORITY_PARENT_INI);
+
+ options_revert_driver_only(options, OPTION_PRIORITY_CMDLINE);
+
parse_ini_file(options, driver->name, OPTION_PRIORITY_DRIVER_INI);
}
}