From e7aabc8f53211d112967dbbdadc042cc5888686e Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 17 Jan 2015 13:26:45 -0800 Subject: [PATCH] Avoid a hang on step out with no threads. --- Windows/Debugger/Debugger_Disasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/Debugger/Debugger_Disasm.cpp b/Windows/Debugger/Debugger_Disasm.cpp index 0aa1f762e2..77e8a3f54c 100644 --- a/Windows/Debugger/Debugger_Disasm.cpp +++ b/Windows/Debugger/Debugger_Disasm.cpp @@ -316,7 +316,7 @@ void CDisasm::stepOut() auto threads = GetThreadsInfo(); - u32 entry, stackTop; + u32 entry = cpu->GetPC(), stackTop = 0; for (size_t i = 0; i < threads.size(); i++) { if (threads[i].isCurrent)