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:
parent
4a349c09d7
commit
3f6e52b62a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user