mirror of
https://github.com/holub/mame
synced 2025-05-23 06:08:48 +03:00
emuopts.c: avoid slots without user configurable options to write their configs at exit. [Fabio Priuli]
This commit is contained in:
parent
772ab4090a
commit
bd15f41d0b
@ -235,7 +235,7 @@ bool emu_options::add_slot_options(bool isfirst)
|
|||||||
slot_interface_iterator iter(config.root_device());
|
slot_interface_iterator iter(config.root_device());
|
||||||
for (const device_slot_interface *slot = iter.first(); slot != NULL; slot = iter.next())
|
for (const device_slot_interface *slot = iter.first(); slot != NULL; slot = iter.next())
|
||||||
{
|
{
|
||||||
if (slot->fixed()) continue;
|
if (slot->fixed() || slot->all_internal()) continue;
|
||||||
// first device? add the header as to be pretty
|
// first device? add the header as to be pretty
|
||||||
if (first && isfirst)
|
if (first && isfirst)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user