Apply that to breaking execution as well.

This commit is contained in:
Henrik Rydgård 2024-11-03 17:33:33 +01:00
parent 5598228462
commit 785ce86f76
2 changed files with 2 additions and 6 deletions

View File

@ -346,7 +346,7 @@ void Core_ProcessStepping() {
static int lastSteppingCounter = -1; static int lastSteppingCounter = -1;
if (lastSteppingCounter != steppingCounter) { if (lastSteppingCounter != steppingCounter) {
CBreakPoints::ClearTemporaryBreakPoints(); CBreakPoints::ClearTemporaryBreakPoints();
System_Notify(SystemNotification::DISASSEMBLY); System_Notify(SystemNotification::DISASSEMBLY_AFTERSTEP);
System_Notify(SystemNotification::MEM_VIEW); System_Notify(SystemNotification::MEM_VIEW);
lastSteppingCounter = steppingCounter; lastSteppingCounter = steppingCounter;
} }

View File

@ -398,13 +398,9 @@ BOOL CDisasm::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
if (!PSP_IsInited()) { if (!PSP_IsInited()) {
break; break;
} }
if (!Core_IsStepping()) // stop if (!Core_IsStepping()) { // stop
{
ptr->setDontRedraw(false); ptr->setDontRedraw(false);
Core_Break("ui.break", 0); Core_Break("ui.break", 0);
Sleep(1); //let cpu catch up
ptr->gotoPC();
UpdateDialog();
} else { // go } else { // go
lastTicks_ = CoreTiming::GetTicks(); lastTicks_ = CoreTiming::GetTicks();