aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-10 09:17:12 -0400
committerLiam <byteslice@airmail.cc>2022-06-10 09:17:12 -0400
commit1f0fee33edf06bb237a952b78b6e117ba81cbdbb (patch)
tree01ce352e9ffbc07cb2b7dc0fd1e1c4ea50298bee /src/core/core.h
parentde6c0defb358b6d12831a594b1b4c615003566b8 (diff)
core/debugger: fix a number of shutdown deadlocks
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 94477206e5..5c367349e2 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -160,6 +160,9 @@ public:
/// Shutdown the emulated system.
void Shutdown();
+ /// Forcibly detach the debugger if it is running.
+ void DetachDebugger();
+
std::unique_lock<std::mutex> StallCPU();
void UnstallCPU();