1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

rsx-debugger: fix ret and nop cmd display

This commit is contained in:
eladash 2018-10-27 23:37:07 +03:00 committed by kd-11
parent 4069470585
commit 5270dc1c9e

View File

@ -1092,12 +1092,12 @@ QString rsx_debugger::DisAsmCommand(u32 cmd, u32 count, u32 ioAddr)
u32 callAddr = cmd & RSX_METHOD_CALL_OFFSET_MASK;
DISASM("CALL: %08x -> %08x", ioAddr, callAddr);
}
if(cmd == RSX_METHOD_RETURN_CMD)
if((cmd & ~0xfffc) == RSX_METHOD_RETURN_CMD)
{
DISASM("RETURN");
}
if(cmd == 0)
if((cmd & ~(RSX_METHOD_NON_INCREMENT_CMD | 0xfffc)) == 0)
{
DISASM("NOP");
}