aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-11 20:44:53 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:47 -0400
commitcb974be3ce3de687f6c4f160ed5183f0de0958f5 (patch)
tree488d71b9de2368944b99b0a188adb84826f1167a /src/yuzu/bootmanager.cpp
parent3869e55c2743c1e7152f54c279fac55814ed4139 (diff)
General: Fix Stop function
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r--src/yuzu/bootmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 468dde782c..6fad01d50b 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -89,8 +89,10 @@ void EmuThread::run() {
}
running_guard = false;
- was_active = true;
- emit DebugModeEntered();
+ if (!stop_run) {
+ was_active = true;
+ emit DebugModeEntered();
+ }
} else if (exec_step) {
UNIMPLEMENTED();
} else {