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;
if (lastSteppingCounter != steppingCounter) {
CBreakPoints::ClearTemporaryBreakPoints();
System_Notify(SystemNotification::DISASSEMBLY);
System_Notify(SystemNotification::DISASSEMBLY_AFTERSTEP);
System_Notify(SystemNotification::MEM_VIEW);
lastSteppingCounter = steppingCounter;
}

View File

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