mirror of https://github.com/PCSX2/pcsx2.git
GS: Account for frame offset in output circuit
This commit is contained in:
parent
d45f34ee8b
commit
a28098c4f8
|
@ -269,7 +269,7 @@ GSTexture* GSRendererHW::GetOutput(int i, int& y_offset)
|
|||
|
||||
const int videomode = static_cast<int>(GetVideoMode()) - 1;
|
||||
int display_height = VideoModeOffsets[videomode].y * ((isinterlaced() && !m_regs->SMODE2.FFMD) ? 2 : 1);
|
||||
int fb_height = std::min(GetFramebufferHeight(), display_height);
|
||||
int fb_height = std::min(GetFramebufferHeight(), display_height) + DISPFB.DBY;
|
||||
// TRACE(_T("[%d] GetOutput %d %05x (%d)\n"), (int)m_perfmon.GetFrame(), i, (int)TEX0.TBP0, (int)TEX0.PSM);
|
||||
|
||||
GSTexture* t = NULL;
|
||||
|
|
|
@ -144,7 +144,7 @@ GSTexture* GSRendererSW::GetOutput(int i, int& y_offset)
|
|||
|
||||
const int videomode = static_cast<int>(GetVideoMode()) - 1;
|
||||
int display_height = VideoModeOffsets[videomode].y * ((isinterlaced() && !m_regs->SMODE2.FFMD) ? 2 : 1);
|
||||
int h = std::min(GetFramebufferHeight(), display_height);
|
||||
int h = std::min(GetFramebufferHeight(), display_height) + DISPFB.DBY;
|
||||
|
||||
// TODO: round up bottom
|
||||
|
||||
|
|
Loading…
Reference in New Issue