citra-emu
/
citra-canary
Archived
1
0
Fork 0

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
1 changed files with 3 additions and 1 deletions

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) {