GSDX: Add a nice debug message

This commit is contained in:
Akash 2016-01-20 04:29:23 +05:30
parent ebb6e34196
commit 22fccd5143
1 changed files with 3 additions and 0 deletions

View File

@ -364,6 +364,9 @@ GSVector4i GSState::GetDisplayRect(int i)
r.right = r.left + width;
r.bottom = r.top + height;
// Useful for debugging games:
//printf("DW: %d , DH: %d , left: %d , right: %d , top: %d , down: %d , MAGH: %d , MAGV: %d\n", m_regs->DISP[i].DISPLAY.DW, m_regs->DISP[i].DISPLAY.DH, r.left, r.right, r.top, r.bottom , m_regs->DISP[i].DISPLAY.MAGH,m_regs->DISP[i].DISPLAY.MAGV);
return r;
}