merged 26787 from after the failed menu merge. "fix autofinder on device remove (nw)"

This commit is contained in:
smf- 2014-02-15 20:06:40 +00:00
parent f468c60ea7
commit 4b0c4f8472

View File

@ -814,6 +814,9 @@ void device_t::remove_subdevice(device_t &device)
for (device_t *scan = iter.first(); scan != NULL; scan = iter.next())
scan->m_device_map.reset(); //remove(&device);
// reset auto finder
m_auto_finder_list = NULL;
// remove from our list
m_subdevice_list.remove(device);
}