summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emuopts.c')
-rw-r--r--src/emu/emuopts.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c
index e9651110ecc..1b34b86518e 100644
--- a/src/emu/emuopts.c
+++ b/src/emu/emuopts.c
@@ -278,6 +278,8 @@ void emu_options::update_slot_options()
}
}
}
+ while (add_slot_options(false));
+ add_device_options(false);
}
@@ -365,8 +367,6 @@ bool emu_options::parse_slot_devices(int argc, char *argv[], astring &error_stri
do {
num = options_count();
update_slot_options();
- while (add_slot_options(false));
- add_device_options(false);
result = core_options::parse_command_line(argc, argv, OPTION_PRIORITY_CMDLINE, error_string);
} while (num != options_count());
@@ -502,8 +502,6 @@ void emu_options::set_system_name(const char *name)
do {
num = options_count();
update_slot_options();
- while (add_slot_options(false));
- add_device_options(false);
} while(num != options_count());
}
}