summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar FearlessTobi2020-02-24 01:34:24 +0100
committerGravatar FearlessTobi2020-02-24 17:51:17 +0100
commit7cbe6748c390391e54bde488152d67d961527d3c (patch)
treebcf002b50b5e4d7f05abe5bd614b991295723390 /src
parentMerge pull request #3424 from ReinUsesLisp/spirv-layer (diff)
downloadyuzu-7cbe6748c390391e54bde488152d67d961527d3c.tar.gz
yuzu-7cbe6748c390391e54bde488152d67d961527d3c.tar.xz
yuzu-7cbe6748c390391e54bde488152d67d961527d3c.zip
yuzu: Remove exit lock for game pausing
This removes the "exit lock" popup from yuzu when pausing a game. Motivation The exit lock feature is broken in many ways and doesn't work properly in a lot of games, causing it to appear every time you want to pause the game or stop it, even in places where it wouldn't on Switch. Additionally, the feature of pausing a game doesn't exist like this on Switch and yuzu should be guaranteed to be deterministic anyway, so pausing the emulation shouldn't be able to interrupt any critical processes in any way.
Diffstat (limited to 'src')
-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 54ca2dc1d..1be61bd48 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1717,11 +1717,6 @@ void GMainWindow::OnStartGame() {
1717} 1717}
1718 1718
1719void GMainWindow::OnPauseGame() { 1719void GMainWindow::OnPauseGame() {
1720 Core::System& system{Core::System::GetInstance()};
1721 if (system.GetExitLock() && !ConfirmForceLockedExit()) {
1722 return;
1723 }
1724
1725 emu_thread->SetRunning(false); 1720 emu_thread->SetRunning(false);
1726 1721
1727 ui.action_Start->setEnabled(true); 1722 ui.action_Start->setEnabled(true);