mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 12:12:50 +01:00
SPU: Fixup breakpoints
This commit is contained in:
parent
a9fd2f76d2
commit
060ddca1ab
@ -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)
|
||||
|
@ -151,7 +151,7 @@ void debugger_list::ShowAddress(u32 addr, bool select_addr, bool direct)
|
||||
const u32 pos_at = pc / 4;
|
||||
const u32 pos_bit = 1u << (pos_at % 8);
|
||||
|
||||
return !!((*spu_bps_list)[pos_at] & pos_bit);
|
||||
return !!((*spu_bps_list)[pos_at / 8] & pos_bit);
|
||||
}
|
||||
default: return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user