mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
Merge pull request #4413 from Kingcom/Debugger
Change "goto in memory view" behavior
This commit is contained in:
commit
2af9ef45a3
@ -998,9 +998,7 @@ void CtrlDisAsmView::onMouseUp(WPARAM wParam, LPARAM lParam, int button)
|
||||
switch(TrackPopupMenuEx(GetSubMenu(g_hPopupMenus,1),TPM_RIGHTBUTTON|TPM_RETURNCMD,pt.x,pt.y,wnd,0))
|
||||
{
|
||||
case ID_DISASM_GOTOINMEMORYVIEW:
|
||||
for (int i=0; i<numCPUs; i++)
|
||||
if (memoryWindow[i])
|
||||
memoryWindow[i]->Goto(curAddress);
|
||||
SendMessage(GetParent(wnd),WM_DEB_GOTOHEXEDIT,curAddress,0);
|
||||
break;
|
||||
case ID_DISASM_ADDHLE:
|
||||
break;
|
||||
|
@ -534,9 +534,7 @@ void CtrlRegisterList::onMouseUp(WPARAM wParam, LPARAM lParam, int button)
|
||||
switch(TrackPopupMenuEx(GetSubMenu(g_hPopupMenus,3),TPM_RIGHTBUTTON|TPM_RETURNCMD,pt.x,pt.y,wnd,0))
|
||||
{
|
||||
case ID_REGLIST_GOTOINMEMORYVIEW:
|
||||
for (int i=0; i<numCPUs; i++)
|
||||
if (memoryWindow[i])
|
||||
memoryWindow[i]->Goto(val);
|
||||
SendMessage(GetParent(wnd),WM_DEB_GOTOHEXEDIT,val,0);
|
||||
break;
|
||||
case ID_REGLIST_GOTOINDISASM:
|
||||
for (int i=0; i<numCPUs; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user