1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Correct condition for FrameBuffer::m_needHeightCorrection.

Fixed screen shake in Mario Tennis (E), issue #296
This commit is contained in:
Sergey Lipskiy 2015-03-19 20:17:35 +06:00
parent e5c452530a
commit 1152f9413c

View File

@ -181,7 +181,7 @@ void FrameBuffer::init(u32 _address, u32 _endAddress, u16 _format, u16 _size, u1
m_scaleY = ogl.getScaleY();
m_fillcolor = 0;
m_cfb = _cfb;
m_needHeightCorrection = _width != VI.width;
m_needHeightCorrection = _width != VI.width && _width != *REG.VI_WIDTH;
m_cleared = false;
_initTexture(_format, _size, m_pTexture);