Corrected adding a slot options, fixes issues visible on PC driver in MESS (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-10-13 12:03:49 +00:00
parent 9c813379d5
commit 7a19f40a95

View File

@ -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;
}
}
}