mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix scanmask interlace offsetting on even numbers
This commit is contained in:
parent
446b0c2dfa
commit
2f6df2f9af
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue