VERY experimental Nintendo Switch 2 emulator
C++
Prevent window flickering when holding Esc
Valeri930d7eca24c7
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cppindex 4e5552d2a1..0bae95202f 100644--- a/src/yuzu/main.cpp+++ b/src/yuzu/main.cpp@@ -975,7 +975,7 @@ void GMainWindow::InitializeHotkeys() {&QShortcut::activatedAmbiguously, ui->action_Fullscreen, &QAction::trigger);connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Exit Fullscreen"), this),&QShortcut::activated, this, [&] {- if (emulation_running) {+ if (emulation_running && ui->action_Fullscreen->isChecked()) {ui->action_Fullscreen->setChecked(false);ToggleFullscreen();}