mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Debugger: Avoid scroll on breakpoint add.
This commit is contained in:
1 parent
9435938ad9
commit
ea6c42aafb
2 files changed
+14
No files matched your search
@@ -412,7 +412,9 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
case ID_DEBUG_ADDBREAKPOINT:
|
||||
{
|
||||
CtrlDisAsmView *view = DisAsmView();
|
||||
keepStatusBarText = true;
|
||||
view->LockPosition();
|
||||
bool isRunning = Core_IsActive();
|
||||
if (isRunning)
|
||||
{
|
||||
@@ -425,6 +427,7 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
if (isRunning)
|
||||
Core_EnableStepping(false);
|
||||
view->UnlockPosition();
|
||||
keepStatusBarText = false;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user