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
commite6f8bde74b9476dced103c6c54ab81616d34b97e (patch)
tree488d71b9de2368944b99b0a188adb84826f1167a /src/yuzu/bootmanager.cpp
parentf370de84b16f9d668b7d5dcc0fd851264e2e6144 (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 {