Debugger: Fixed deadlock/crash when attempting to break execution when CPU is halted
This commit is contained in:
parent
6ed9ed094a
commit
556d060b02
1 changed files with 2 additions and 0 deletions
|
@ -214,6 +214,8 @@ void Debugger::ProcessPpuCycle(uint16_t scanline, uint16_t cycle)
|
|||
if(cycle == 0 && scanline == _step->BreakScanline) {
|
||||
_step->BreakScanline = -1;
|
||||
SleepUntilResume(BreakSource::PpuStep);
|
||||
} else if(_breakRequestCount > 0) {
|
||||
SleepUntilResume(BreakSource::Unspecified);
|
||||
}
|
||||
|
||||
//Catch up SPC/DSP as needed (if we're tracing or debugging those particular CPUs)
|
||||
|
|
Loading…
Add table
Reference in a new issue