1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Fix flicker in interlaced mode.

This commit is contained in:
Sergey Lipskiy 2014-11-29 19:01:27 +06:00
parent 4a349c09d7
commit 3f6e52b62a

View File

@ -386,8 +386,12 @@ void FrameBufferList::renderBuffer(u32 _address)
vStartPrev = vStart;
srcY0 = ((_address - pBuffer->m_startAddress) << 1 >> pBuffer->m_size) / (*REG.VI_WIDTH);
if (isLowerField)
if (isLowerField) {
if (srcY0 > 0)
--srcY0;
if (dstY0 > 0)
--dstY0;
}
if (srcY0 + vCurrentHeight > vFullHeight) {
dstPartHeight = srcY0;