From 976a3724e297a3a70ecd781c293cbbc97607d347 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Mon, 24 Jul 2017 01:33:38 +1000 Subject: [PATCH] (nw) Save partname to inifile, so that the correct part is loaded next time. --- src/emu/image.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/emu/image.cpp b/src/emu/image.cpp index e93362c6603..f98ecd65f31 100644 --- a/src/emu/image.cpp +++ b/src/emu/image.cpp @@ -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(); }