mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
debugger: Fix single stepping (#9793)
This commit is contained in:
parent
e76d8eb046
commit
20eb4352fb
7 changed files with 58 additions and 11 deletions
|
@ -455,7 +455,7 @@ extern void ppu_register_function_at(u32 addr, u32 size, ppu_function_t ptr)
|
|||
static bool ppu_break(ppu_thread& ppu, ppu_opcode_t op)
|
||||
{
|
||||
// Pause
|
||||
ppu.state += cpu_flag::dbg_pause;
|
||||
ppu.state.atomic_op([](bs_t<cpu_flag>& state) { if (!(state & cpu_flag::dbg_step)) state += cpu_flag::dbg_pause; });
|
||||
|
||||
if (ppu.check_state())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue