mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
(nw) Save partname to inifile, so that the correct part is loaded next time.
This commit is contained in:
parent
8e3dc90e93
commit
976a3724e2
@ -201,7 +201,12 @@ void image_manager::options_extract()
|
|||||||
if (image.exists())
|
if (image.exists())
|
||||||
{
|
{
|
||||||
if (image.loaded_through_softlist())
|
if (image.loaded_through_softlist())
|
||||||
|
{
|
||||||
image_opt = util::string_format("%s:%s", image.software_list_name(), image.full_software_name());
|
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
|
else
|
||||||
image_opt = image.filename();
|
image_opt = image.filename();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user