From 7a19f40a9503c94100dd3bf71710f05f545987a3 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 13 Oct 2011 12:03:49 +0000 Subject: [PATCH] Corrected adding a slot options, fixes issues visible on PC driver in MESS (no whatsnew) --- src/emu/emuopts.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c index 6dbe7545797..8bb1dc2db67 100644 --- a/src/emu/emuopts.c +++ b/src/emu/emuopts.c @@ -470,6 +470,12 @@ void emu_options::set_system_name(const char *name) remove_device_options(); // then add the options add_device_options(true); + + bool isfirst = true; + while (add_slot_options(isfirst)) { + add_device_options(false); + isfirst = false; + } } }