summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/mameopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/mameopts.cpp')
-rw-r--r--src/frontend/mame/mameopts.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/frontend/mame/mameopts.cpp b/src/frontend/mame/mameopts.cpp
index 30e3b92fa33..49a31d28f26 100644
--- a/src/frontend/mame/mameopts.cpp
+++ b/src/frontend/mame/mameopts.cpp
@@ -185,9 +185,7 @@ void mame_options::remove_device_options(emu_options &options)
bool mame_options::parse_slot_devices(emu_options &options, std::function<void(emu_options &options, const std::string &)> value_specifier)
{
// keep adding slot options until we stop seeing new stuff
- while (add_slot_options(options, value_specifier))
- {
- }
+ while (add_slot_options(options, value_specifier)) { }
// add device options
add_device_options(options, value_specifier);