citra_qt: ask for confirmation when changing games from the game list (#6186)

Co-authored-by: nobody <nobody>
This commit is contained in:
foghawk 2022-11-11 23:09:53 -06:00 committed by GitHub
parent bb05d8c12a
commit a76ef97f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1320,7 +1320,9 @@ void GMainWindow::UpdateSaveStates() {
} }
void GMainWindow::OnGameListLoadFile(QString game_path) { void GMainWindow::OnGameListLoadFile(QString game_path) {
if (ConfirmChangeGame()) {
BootGame(game_path); BootGame(game_path);
}
} }
void GMainWindow::OnGameListOpenFolder(u64 data_id, GameListOpenTarget target) { void GMainWindow::OnGameListOpenFolder(u64 data_id, GameListOpenTarget target) {