mirror of
https://github.com/holub/mame
synced 2025-05-25 15:25:33 +03:00
fixed crash when loading from softlist with -cart/-flop/-cass switch.
This commit is contained in:
parent
4ac66f284a
commit
dd6e634ef2
@ -1576,7 +1576,7 @@ static void find_software_item(const machine_config &config, emu_options &option
|
|||||||
software_list_device_iterator deviter(config.root_device());
|
software_list_device_iterator deviter(config.root_device());
|
||||||
for (software_list_device *swlist = deviter.first(); swlist != NULL; swlist = deviter.next())
|
for (software_list_device *swlist = deviter.first(); swlist != NULL; swlist = deviter.next())
|
||||||
{
|
{
|
||||||
const char *swlist_name = swlist->list_name();
|
swlist_name = (char *)swlist->list_name();
|
||||||
|
|
||||||
if (swlist->list_type() == SOFTWARE_LIST_ORIGINAL_SYSTEM)
|
if (swlist->list_type() == SOFTWARE_LIST_ORIGINAL_SYSTEM)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user