summaryrefslogtreecommitdiffstats
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 468dde782..6fad01d50 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 {