From 4f85f151fd392a86b2344b8d1dccf6ad9d39c5d6 Mon Sep 17 00:00:00 2001 From: Eladash Date: Wed, 3 Feb 2021 13:59:01 +0200 Subject: [PATCH] SPU: Always signal the debugger about termination --- rpcs3/Emu/Cell/SPUThread.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcs3/Emu/Cell/SPUThread.cpp b/rpcs3/Emu/Cell/SPUThread.cpp index a6d742c088..dfcf961fb5 100644 --- a/rpcs3/Emu/Cell/SPUThread.cpp +++ b/rpcs3/Emu/Cell/SPUThread.cpp @@ -1689,6 +1689,9 @@ void spu_thread::cleanup() // Free range lock (and signals cleanup was called to the destructor) vm::free_range_lock(range_lock); + + // Signal the debugger about the termination + state += cpu_flag::exit; } spu_thread::~spu_thread()