mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
SPU: Fixup breakpoints
This commit is contained in:
parent
a9fd2f76d2
commit
060ddca1ab
2 changed files with 2 additions and 2 deletions
|
@ -1842,7 +1842,7 @@ void spu_thread::cpu_work()
|
||||||
const u32 pos_at = pc / 4;
|
const u32 pos_at = pc / 4;
|
||||||
const u32 pos_bit = 1u << (pos_at % 8);
|
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
|
// Ignore repeatations until a different instruction is issued
|
||||||
if (pc != current_bp_pc)
|
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_at = pc / 4;
|
||||||
const u32 pos_bit = 1u << (pos_at % 8);
|
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;
|
default: return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue