Made get_card_device work before start of devices (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2011-11-09 13:03:49 +00:00
parent e0f276b74b
commit c9fb7c59f8

View File

@ -30,7 +30,7 @@ void device_slot_interface::static_set_slot_info(device_t &device, const slot_in
device_t* device_slot_interface::get_card_device()
{
const char *subtag = device().machine().options().value(device().tag());
const char *subtag = device().mconfig().options().value(device().tag());
device_t *dev = NULL;
if (subtag) {
device_slot_card_interface *intf = NULL;