mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +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());
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user