mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Correct height to copy in RDRAMtoColorBuffer::copyFromRDRAM.
This commit is contained in:
parent
9a17040010
commit
7f9a26b881
|
@ -185,7 +185,7 @@ void RDRAMtoColorBuffer::copyFromRDRAM(u32 _address, bool _bCFB)
|
|||
|
||||
const u32 address = m_pCurBuffer->m_startAddress;
|
||||
|
||||
const u32 height = cutHeight(address, m_pCurBuffer->m_startAddress == _address ? VI.real_height : m_pCurBuffer->m_height, m_pCurBuffer->m_width << m_pCurBuffer->m_size >> 1);
|
||||
const u32 height = cutHeight(address, m_pCurBuffer->m_startAddress == _address ? VI.real_height : VI_GetMaxBufferHeight(m_pCurBuffer->m_width), m_pCurBuffer->m_width << m_pCurBuffer->m_size >> 1);
|
||||
if (height == 0)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user