Debugger: Lock memory during stack walk.

In case of shutdown during it.
This commit is contained in:
Unknown W. Brackets committed 2023-02-22 21:14:33 -08:00
1 parent be833550ec
commit cbc1ed4bfe
2 files changed
+8 -6

No files matched your search

+3 -4
View File
@@ -291,11 +291,10 @@ void CDisasm::stepOver()
UpdateDialog();
}
void CDisasm::stepOut()
{
if (!PSP_IsInited()) {
void CDisasm::stepOut() {
auto memLock = Memory::Lock();
if (!PSP_IsInited())
return;
}
auto threads = GetThreadsInfo();