GS: Fix scanmask interlace offsetting on even numbers

This commit is contained in:
refractionpcsx2 2022-07-11 14:20:54 +01:00
parent 446b0c2dfa
commit 2f6df2f9af
1 changed files with 6 additions and 3 deletions

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) // 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; interlace_offset += (tex[i]->GetScale().y - 1.0f) / 2;
if (interlace_offset >= 1.0f)
{
if (!ignore_offset) if (!ignore_offset)
off.y &= ~1; off.y -= 1;
display_diff.y &= ~1; display_diff.y -= 1;
}
} }
// Start of Anti-Blur code. // Start of Anti-Blur code.