Debugger: BPMR|W - ignore next opcode's fetch address as a candidate for memory trap address (#451)

This commit is contained in:
tomcw
2019-11-27 22:14:16 +00:00
parent 4d12a23c68
commit dd274bc000
3 changed files with 14 additions and 3 deletions
+4 -1
View File
@@ -1127,7 +1127,10 @@ int CheckBreakpointsIO ()
int iTarget;
int nAddress;
_6502_GetTargets( regs.pc, &aTarget[0], &aTarget[1], &aTarget[2], &nBytes, false );
// bIgnoreNextOpcodeAddress = true:
// . JSR addr16: ignore addr16 as a target
// . RTS/RTI : ignore return as a target
_6502_GetTargets( regs.pc, &aTarget[0], &aTarget[1], &aTarget[2], &nBytes, true, true, true );
if (nBytes)
{