mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Apply that to breaking execution as well.
This commit is contained in:
parent
5598228462
commit
785ce86f76
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user