mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 00:40:11 +00:00
RSXDebugger: Display viewport size
This commit is contained in:
parent
e7b459573e
commit
b353cd4ecb
@ -1034,8 +1034,20 @@ wxString RSXDebugger::DisAsmCommand(u32 cmd, u32 count, u32 currentAddr, u32 ioA
|
||||
break;
|
||||
|
||||
case NV4097_SET_VIEWPORT_HORIZONTAL:
|
||||
DISASM("Set viewport horizontal");
|
||||
{
|
||||
u32 m_viewport_x = (u32)args[0] & 0xffff;
|
||||
u32 m_viewport_w = (u32)args[0] >> 16;
|
||||
|
||||
if (count == 2)
|
||||
{
|
||||
u32 m_viewport_y = (u32)args[1] & 0xffff;
|
||||
u32 m_viewport_h = (u32)args[1] >> 16;
|
||||
DISASM("Set viewport horizontal %d %d", m_viewport_w, m_viewport_h);
|
||||
}
|
||||
else
|
||||
DISASM("Set viewport horizontal %d", m_viewport_w);
|
||||
break;
|
||||
}
|
||||
|
||||
case NV4097_SET_CLIP_MIN:
|
||||
DISASM("Set clip min");
|
||||
|
Loading…
x
Reference in New Issue
Block a user