diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 8adbcfe86..1e77aa6dd 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -824,6 +824,12 @@ void GMainWindow::dragMoveEvent(QDragMoveEvent* event) { event->acceptProposedAction(); } +void GMainWindow::keyPressEvent(QKeyEvent* event) { +if (event->key() == Qt::Key_F4 && emulation_running) { + OnPauseGame(); + } +} + bool GMainWindow::ConfirmChangeGame() { if (emu_thread == nullptr) return true;