summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-03-26 21:42:57 +0100
committerGitHub <noreply@github.com>2020-03-26 21:42:57 +0100
commit950b6dbc800f3ab757433de0a989d2550e13d32b (patch)
treed9a8f1e894d834cab7ebc31a9bb6851844e89d21
parentMerge pull request #3550 from hughesjs/hughesjs-readme-changes-1 (diff)
parentyuzu: Remove exit lock for game pausing (diff)
downloadyuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.tar
yuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.tar.gz
yuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.tar.bz2
yuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.tar.lz
yuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.tar.xz
yuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.tar.zst
yuzu-950b6dbc800f3ab757433de0a989d2550e13d32b.zip
-rw-r--r--src/yuzu/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 47615adfe..4769a612e 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1716,11 +1716,6 @@ void GMainWindow::OnStartGame() {
}
void GMainWindow::OnPauseGame() {
- Core::System& system{Core::System::GetInstance()};
- if (system.GetExitLock() && !ConfirmForceLockedExit()) {
- return;
- }
-
emu_thread->SetRunning(false);
ui.action_Start->setEnabled(true);