mirror of
https://github.com/holub/mame
synced 2025-05-04 21:43:05 +03:00
(nw) Save partname to inifile, so that the correct part is loaded next time.
This commit is contained in:
parent
95ff6a6092
commit
51e574a351
@ -201,7 +201,12 @@ void image_manager::options_extract()
|
||||
if (image.exists())
|
||||
{
|
||||
if (image.loaded_through_softlist())
|
||||
{
|
||||
image_opt = util::string_format("%s:%s", image.software_list_name(), image.full_software_name());
|
||||
const software_part *tmp = image.part_entry();
|
||||
if (!tmp->name().empty())
|
||||
image_opt.append(":").append(tmp->name());
|
||||
}
|
||||
else
|
||||
image_opt = image.filename();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user