Skip to content

Commit

Permalink
SPU: Fixup breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 committed Apr 13, 2024
1 parent 490a034 commit a1f2bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/SPUThread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ void spu_thread::cpu_work()
const u32 pos_at = pc / 4;
const u32 pos_bit = 1u << (pos_at % 8);

if (local_breakpoints[pos_at] & pos_bit)
if (local_breakpoints[pos_at / 8] & pos_bit)
{
// Ignore repeatations until a different instruction is issued
if (pc != current_bp_pc)
Expand Down

0 comments on commit a1f2bb2

Please sign in to comment.