Browse Source

yuzu: fix the stuck in fullscreen mode bug

Co-Authored-By: Valentin Vanelslande <vvanelslandedev@gmail.com>
pull/15/merge
FearlessTobi 6 years ago
parent
commit
8ba06aa4e1
  1. 8
      src/yuzu/main.cpp

8
src/yuzu/main.cpp

@ -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…
Cancel
Save