diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 84df9eb698..29a7b431bf 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -565,16 +565,22 @@ void main_window::InstallPackages(QStringList file_paths) std::vector infos; - // Let the user choose the packages to install and select the order in which they shall be installed. + game_compatibility* compat = m_game_list_frame ? m_game_list_frame->GetGameCompatibility() : nullptr; + if (file_paths.size() > 1) { - pkg_install_dialog dlg(file_paths, m_game_list_frame ? m_game_list_frame->GetGameCompatibility() : nullptr, this); + // Let the user choose the packages to install and select the order in which they shall be installed. + pkg_install_dialog dlg(file_paths, compat, this); connect(&dlg, &QDialog::accepted, [&infos, &dlg]() { infos = dlg.GetPathsToInstall(); }); dlg.exec(); } + else + { + infos.push_back(game_compatibility::GetPkgInfo(file_paths.front(), compat)); + } if (infos.empty()) { @@ -614,16 +620,38 @@ void main_window::HandlePackageInstallation(const std::vectorRefresh(true); - gui_log.success("Successfully installed %s.", file_name); + gui_log.success("Successfully installed %s (title_id=%s, title=%s, version=%s).", file_name, sstr(package.title_id), sstr(package.title), sstr(package.version)); if (i == (count - 1)) { @@ -685,12 +713,12 @@ void main_window::HandlePackageInstallation(const std::vector