summaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-16 11:57:33 -0500
committerGitHub <noreply@github.com>2022-12-16 11:57:33 -0500
commit6bc1a477bfba9f1ac60b864ddbccbfd61faa5f4c (patch)
treef744a93874c713608617364205fe70605b6e63ec /src/yuzu/bootmanager.h
parent9bfd4d880ecc332b230c9977654849d7521c93fb (diff)
parent179adee396e6b8480d52be5314979830beebfbc1 (diff)
Merge pull request #8605 from devsnek/graceful-shutdown
let games gracefully exit
Diffstat (limited to 'src/yuzu/bootmanager.h')
-rw-r--r--src/yuzu/bootmanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/bootmanager.h b/src/yuzu/bootmanager.h
index f4deae4ee..f0edad6e4 100644
--- a/src/yuzu/bootmanager.h
+++ b/src/yuzu/bootmanager.h
@@ -84,9 +84,10 @@ public:
}
/**
- * Requests for the emulation thread to stop running
+ * Requests for the emulation thread to immediately stop running
*/
- void RequestStop() {
+ void ForceStop() {
+ LOG_WARNING(Frontend, "Force stopping EmuThread");
stop_source.request_stop();
SetRunning(false);
}