diff --git a/src/citron/game_list.cpp b/src/citron/game_list.cpp index ebb5b4da4..c94246d63 100644 --- a/src/citron/game_list.cpp +++ b/src/citron/game_list.cpp @@ -4,6 +4,7 @@ #include #include +#include #include #include #include @@ -818,6 +819,27 @@ void GameList::ValidateEntry(const QModelIndex& item) { } case GameListItemType::AddDir: emit AddDirectory(); + + if (UISettings::values.prompt_for_autoloader) { + QMessageBox msg_box(this); + msg_box.setWindowTitle(tr("Autoloader")); + msg_box.setText( + tr("Would you like to use the Autoloader to install all Updates/DLC within your game directories?\n\n" + "If not now, you can always go to Emulation -> Configure -> Filesystem in order to use this feature. Also, if you have multiple update files for a single game, you can use the Update Manager " + "in File -> Install Updates with Update Manager.")); + msg_box.setStandardButtons(QMessageBox::Yes | QMessageBox::No); + QCheckBox* check_box = new QCheckBox(tr("Do not ask me again")); + msg_box.setCheckBox(check_box); + + if (msg_box.exec() == QMessageBox::Yes) { + emit RunAutoloaderRequested(); + } + + if (check_box->isChecked()) { + UISettings::values.prompt_for_autoloader = false; + emit SaveConfig(); + } + } break; default: break;