mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: Commit patch from zzogl-213 for shaking when interlace is on in FFX-2. (Issue 768).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3334 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f3b7c09851
commit
f058e38f5b
|
@ -527,6 +527,12 @@ inline void RenderCheckForTargets(tex0Info& texframe, list<CRenderTarget*>& list
|
|||
|
||||
if (ptarg->fbh - dby < texframe.th - movy && !(*bUsingStencil))
|
||||
RenderUpdateStencil(i, bUsingStencil);
|
||||
else if (ptarg->fbh - dby > 2 * ( texframe.th - movy ))
|
||||
{
|
||||
// Sometimes calculated position onscreen is misaligned, ie in FFX-2 intro. In such case some part of image are out of
|
||||
// border's and we should move it manually.
|
||||
dby -= ((ptarg->fbh - dby) >> 2) - ((texframe.th + movy) >> 1) ;
|
||||
}
|
||||
|
||||
SetShaderCaller("RenderCheckForTargets");
|
||||
|
||||
|
|
Loading…
Reference in New Issue