diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 98d3ceefb3..bd910e0698 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -2531,6 +2531,22 @@ void main_window::CreateConnects() AddGamesFromDirs(std::move(paths)); }); + connect(ui->addIsoGamesAct, &QAction::triggered, this, [this]() + { + if (!m_gui_settings->GetBootConfirmation(this)) + { + return; + } + + QStringList paths = QFileDialog::getOpenFileNames(this, tr("Select ISO files to add"), QString::fromStdString(fs::get_config_dir()), tr("ISO files (*.iso);;All files (*.*)")); + if (paths.isEmpty()) + { + return; + } + + AddGamesFromDirs(std::move(paths)); + }); + connect(ui->bootRecentMenu, &QMenu::aboutToShow, this, [this]() { // Enable/Disable Recent Games List diff --git a/rpcs3/rpcs3qt/main_window.ui b/rpcs3/rpcs3qt/main_window.ui index 5876bfeead..9b9853d315 100644 --- a/rpcs3/rpcs3qt/main_window.ui +++ b/rpcs3/rpcs3qt/main_window.ui @@ -218,6 +218,7 @@ + @@ -1513,6 +1514,11 @@ Download Update + + + Add ISO Games + +