Debugger: Fixed DMC reads not triggering breakpoints (when sub-instruction BPs are disabled)
This commit is contained in:
parent
62c2541642
commit
c5801ea2e0
1 changed files with 2 additions and 1 deletions
|
@ -849,7 +849,8 @@ bool Debugger::ProcessRamOperation(MemoryOperationType type, uint16_t &addr, uin
|
||||||
case MemoryOperationType::Write: breakpointType = BreakpointType::WriteRam; break;
|
case MemoryOperationType::Write: breakpointType = BreakpointType::WriteRam; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_breakOnFirstCycle) {
|
//For DMC reads, always break when it happens, rather than at the start (because we can't predict it easily)
|
||||||
|
if(_breakOnFirstCycle && !isDmcRead) {
|
||||||
if(type == MemoryOperationType::ExecOpCode && !breakDone) {
|
if(type == MemoryOperationType::ExecOpCode && !breakDone) {
|
||||||
ProcessAllBreakpoints(operationInfo);
|
ProcessAllBreakpoints(operationInfo);
|
||||||
} else if(_hasBreakpoint[breakpointType]) {
|
} else if(_hasBreakpoint[breakpointType]) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue