mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Debugger: Lock memory during stack walk.
In case of shutdown during it.
This commit is contained in:
parent
be833550ec
commit
cbc1ed4bfe
2 changed files with 8 additions and 6 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -700,8 +700,11 @@ void CtrlStackTraceView::OnDoubleClick(int itemIndex, int column)
|
|||
SendMessage(GetParent(GetHandle()),WM_DEB_GOTOWPARAM,frames[itemIndex].pc,0);
|
||||
}
|
||||
|
||||
void CtrlStackTraceView::loadStackTrace()
|
||||
{
|
||||
void CtrlStackTraceView::loadStackTrace() {
|
||||
auto memLock = Memory::Lock();
|
||||
if (!PSP_IsInited())
|
||||
return;
|
||||
|
||||
auto threads = GetThreadsInfo();
|
||||
|
||||
u32 entry = 0, stackTop = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue