ui: add mame version info to the 'missing roms' error msg

This commit is contained in:
hap 2025-06-01 12:26:08 +02:00
parent 9831e1fa73
commit e9f92cb5f8
2 changed files with 7 additions and 3 deletions

View File

@ -24,6 +24,7 @@
#include "drivenum.h"
#include "emuopts.h"
#include "image.h"
#include "mame.h"
#include "softlist_dev.h"
#include "util/zippath.h"
@ -197,7 +198,8 @@ void menu_control_device_image::load_software_part()
}
else
{
machine().popmessage(_("The software selected is missing one or more required ROM or CHD images.\nPlease acquire the correct files or select a different one."));
machine().popmessage(_("The software selected is missing one or more required ROM or CHD images.\nPlease acquire the correct file(s) applicable to %1$s %2$s, or select a different one."),
emulator_info::get_appname(), bare_build_version);
m_state = SELECT_SOFTLIST;
menu_activated();
}

View File

@ -3882,7 +3882,8 @@ std::string menu_select_launch::make_system_audit_fail_text(media_auditor const
osd_printf_info(str.str());
str.str("");
}
str << _("Required ROM/disk images for the selected system are missing or incorrect. Please acquire the correct files or select a different system.\n\n");
str << util::string_format(_("Required ROM/disk images for the selected system are missing or incorrect.\nPlease acquire the correct file(s) applicable to %1$s %2$s, or select a different system.\n\n"),
emulator_info::get_appname(), bare_build_version);
make_audit_fail_text(str, auditor, summary);
return str.str();
}
@ -3898,7 +3899,8 @@ std::string menu_select_launch::make_software_audit_fail_text(media_auditor cons
osd_printf_info(str.str());
str.str("");
}
str << _("Required ROM/disk images for the selected software are missing or incorrect. Please acquire the correct files or select a different software item.\n\n");
str << util::string_format(_("Required ROM/disk images for the selected software are missing or incorrect.\nPlease acquire the correct file(s) applicable to %1$s %2$s, or select a different software item.\n\n"),
emulator_info::get_appname(), bare_build_version);
make_audit_fail_text(str, auditor, summary);
return str.str();
}