GS: Fix scanmask interlace offsetting on even numbers

This commit is contained in:
refractionpcsx2 committed 2022-07-11 15:16:11 +01:00
1 parent 446b0c2dfa
commit 2f6df2f9af
1 file changed
+6 -3
+6 -3
View File
@@ -211,10 +211,13 @@ bool GSRenderer::Merge(int field)
// When the displays are offset by 1 we need to adjust for upscale to handle it (reduces bounce in MGS2 when upscaling)
interlace_offset += (tex[i]->GetScale().y - 1.0f) / 2;
if (!ignore_offset)
off.y &= ~1;
if (interlace_offset >= 1.0f)
{
if (!ignore_offset)
off.y -= 1;
display_diff.y &= ~1;
display_diff.y -= 1;
}
}
// Start of Anti-Blur code.