mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-02 10:10:04 +00:00
Update main.cpp
This commit is contained in:
parent
d15e15bd05
commit
0fe6551ee3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user