mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 16:21:02 +00:00
RSXDebugger: Add clip details when parsing clip horizontal
This commit is contained in:
parent
cf7e5028a4
commit
e7b459573e
@ -1070,7 +1070,24 @@ wxString RSXDebugger::DisAsmCommand(u32 cmd, u32 count, u32 currentAddr, u32 ioA
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case NV4097_SET_SURFACE_CLIP_HORIZONTAL:
|
case NV4097_SET_SURFACE_CLIP_HORIZONTAL:
|
||||||
DISASM("Set surface clip horizontal");
|
{
|
||||||
|
const u32 a0 = (u32)args[0];
|
||||||
|
|
||||||
|
u32 clip_x = a0;
|
||||||
|
u32 clip_w = a0 >> 16;
|
||||||
|
|
||||||
|
if (count == 2)
|
||||||
|
{
|
||||||
|
const u32 a1 = (u32)args[1];
|
||||||
|
u32 clip_y = a1;
|
||||||
|
u32 clip_h = a1 >> 16;
|
||||||
|
DISASM("Set surface clip horizontal : %d %d", clip_w, clip_h);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
DISASM("Set surface clip horizontal : %d", clip_w);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x3fead:
|
case 0x3fead:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user