GS: Account for frame offset in output circuit

This commit is contained in:
refractionpcsx2 committed 2022-05-01 13:15:08 +01:00
1 parent d45f34ee8b
commit a28098c4f8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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