mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-24 10:58:16 +00:00
Merge pull request #3576 from FearlessTobi/port-4906
Port citra-emu/citra#4906: "citra_qt: fix the stuck in fullscreen mode"
This commit is contained in:
commit
9bd9980372
1 changed files with 8 additions and 0 deletions
|
@ -1034,6 +1034,14 @@ void GMainWindow::BootGame(const QString& filename) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMainWindow::ShutdownGame() {
|
void GMainWindow::ShutdownGame() {
|
||||||
|
if (!emulation_running) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ui.action_Fullscreen->isChecked()) {
|
||||||
|
HideFullscreen();
|
||||||
|
}
|
||||||
|
|
||||||
AllowOSSleep();
|
AllowOSSleep();
|
||||||
|
|
||||||
discord_rpc->Pause();
|
discord_rpc->Pause();
|
||||||
|
|
Loading…
Reference in a new issue