mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 11:44:15 +01:00
yuzu: fix the stuck in fullscreen mode bug
Co-Authored-By: Valentin Vanelslande <vvanelslandedev@gmail.com>
This commit is contained in:
parent
7a2f60df26
commit
8ba06aa4e1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user