mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Revert "Correct frame buffer end address calculation in FrameBufferList::saveBuffer."
Seems to be not needed anymore.
This reverts commit bb6a9b3549
.
This commit is contained in:
parent
3d6a897c97
commit
22a1e6a39f
|
@ -456,7 +456,7 @@ void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _widt
|
|||
m_pCurrent = _findBuffer(m_pCurrent->m_startAddress, m_pCurrent->m_endAddress, m_pCurrent->m_width);
|
||||
}
|
||||
|
||||
const u32 endAddress = _address + ((_width * (_height - 1)) << _size >> 1) - 1;
|
||||
const u32 endAddress = _address + ((_width * _height) << _size >> 1) - 1;
|
||||
if (m_pCurrent == NULL || m_pCurrent->m_startAddress != _address || m_pCurrent->m_width != _width)
|
||||
m_pCurrent = findBuffer(_address);
|
||||
if (m_pCurrent != NULL) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user