mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 12:37:59 -05:00
yuzu: fix the stuck in fullscreen mode bug
Co-Authored-By: Valentin Vanelslande <vvanelslandedev@gmail.com>
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user