Make loading software through slots work again (nw)

It's still necessary to add slots with no selectable options to the option list, as otherwise the non-selectable options can't be installed.
This commit is contained in:
AJR 2017-02-27 07:29:11 -05:00
parent d4f8abf043
commit 4bf8f47241

View File

@ -41,8 +41,8 @@ bool mame_options::add_slot_options(emu_options &options, std::function<void(emu
int starting_count = options.options_count();
for (const device_slot_interface &slot : slot_interface_iterator(config.root_device()))
{
// skip slots without selectable options
if (!slot.has_selectable_options())
// skip fixed slots
if (slot.fixed())
continue;
// retrieve info about the device instance