Debugger/PPU: Superior Callstack Detection

This commit is contained in:
Eladash 2023-08-20 04:24:42 +03:00 committed by Elad Ashkenazi
parent 78f2d44a0e
commit 17302a9422
5 changed files with 362 additions and 34 deletions

View file

@ -1330,7 +1330,7 @@ void debugger_frame::DoStep(bool step_over)
ppu_opcode_t ppu_op{result};
const ppu_itype::type itype = g_ppu_itype.decode(ppu_op.opcode);
should_step_over = (itype == ppu_itype::BC || itype == ppu_itype::B || itype == ppu_itype::BCCTR || itype == ppu_itype::BCLR) && ppu_op.lk;
should_step_over = (itype & ppu_itype::branch && ppu_op.lk);
}
}