mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue