Debugger: Fixed UI update issues when power cycling
This commit is contained in:
parent
052cd63d5f
commit
5c81a94840
2 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ public:
|
|||
|
||||
if(!_isEmulationThread) {
|
||||
//Only attempt to break if this is done in a thread other than the main emulation thread
|
||||
debugger->BreakRequest(true);
|
||||
debugger->BreakRequest(false);
|
||||
if(!debugger->IsExecutionStopped()) {
|
||||
while(!debugger->IsExecutionStopped()) {}
|
||||
_needResume = true;
|
||||
|
@ -30,7 +30,7 @@ public:
|
|||
~DebugBreakHelper()
|
||||
{
|
||||
if(!_isEmulationThread) {
|
||||
_debugger->BreakRequest(false);
|
||||
_debugger->BreakRequest(true);
|
||||
}
|
||||
}
|
||||
};
|
|
@ -324,7 +324,7 @@ void Debugger::SleepUntilResume(BreakSource source, MemoryOperationInfo *operati
|
|||
|
||||
_executionStopped = true;
|
||||
|
||||
if(_cpuStepCount == 0 && _breakRequestCount == 0) {
|
||||
if(_cpuStepCount == 0) {
|
||||
//Only trigger code break event if the pause was caused by user action
|
||||
BreakEvent evt = {};
|
||||
evt.BreakpointId = breakpointId;
|
||||
|
|
Loading…
Add table
Reference in a new issue