mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
fixed crash in software_find_romdata() (nw)
This commit is contained in:
parent
bbfb99e515
commit
36cc9b2999
@ -1478,11 +1478,11 @@ static struct rom_entry *software_find_romdata(software_part *swpart, const char
|
||||
|
||||
data++;
|
||||
}
|
||||
|
||||
if (data && !data->_name)
|
||||
data = NULL;
|
||||
}
|
||||
|
||||
if (!data->_name)
|
||||
data = NULL;
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user