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

Reset buffer's m_RdramCrc and m_validityChecked on buffer change.

This commit is contained in:
Sergey Lipskiy 2015-03-09 17:17:20 +06:00
parent 4a9e7cdc1f
commit 189b594118

View File

@ -249,8 +249,10 @@ void FrameBufferList::destroy() {
void FrameBufferList::setBufferChanged()
{
gDP.colorImage.changed = TRUE;
if (m_pCurrent != NULL)
if (m_pCurrent != NULL) {
m_pCurrent->m_changed = true;
m_pCurrent->m_RdramCrc = m_pCurrent->m_validityChecked = 0;
}
}
void FrameBufferList::setNeedHeightCorrection(bool _needCorrection)