mirror of
https://github.com/holub/mame
synced 2025-05-05 22:04:43 +03:00
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:
parent
d4f8abf043
commit
4bf8f47241
@ -41,8 +41,8 @@ bool mame_options::add_slot_options(emu_options &options, std::function<void(emu
|
|||||||
int starting_count = options.options_count();
|
int starting_count = options.options_count();
|
||||||
for (const device_slot_interface &slot : slot_interface_iterator(config.root_device()))
|
for (const device_slot_interface &slot : slot_interface_iterator(config.root_device()))
|
||||||
{
|
{
|
||||||
// skip slots without selectable options
|
// skip fixed slots
|
||||||
if (!slot.has_selectable_options())
|
if (slot.fixed())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// retrieve info about the device instance
|
// retrieve info about the device instance
|
||||||
|
Loading…
Reference in New Issue
Block a user