mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-30 07:09:49 -06:00
RSX Debugger: Stable NOP skipping
Allow addresses of NOP blocks to remain consistent in between debugger position changes except for the first which can shrink or grow.
This commit is contained in:
parent
4557992334
commit
3899248305
@ -73,7 +73,7 @@ u32 RSXDisAsm::disasm(u32 pc)
|
||||
{
|
||||
u32 i = 1;
|
||||
|
||||
for (pc += 4; m_mode != cpu_disasm_mode::list && pc && i < 4096; i++, pc += 4)
|
||||
for (pc += 4; m_mode != cpu_disasm_mode::list && pc % (4096 * 4); i++, pc += 4)
|
||||
{
|
||||
if (!try_read_op(pc))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user