Merge pull request #3576 from FearlessTobi/port-4906

Port citra-emu/citra#4906: "citra_qt: fix the stuck in fullscreen mode"
merge-requests/60/head
bunnei 2020-03-28 00:28:31 +07:00 committed by GitHub
commit 9bd9980372
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

@ -1034,6 +1034,14 @@ void GMainWindow::BootGame(const QString& filename) {
}
void GMainWindow::ShutdownGame() {
if (!emulation_running) {
return;
}
if (ui.action_Fullscreen->isChecked()) {
HideFullscreen();
}
AllowOSSleep();
discord_rpc->Pause();