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

Merge pull request #817 from purplemarshmallow/22

typo fix
This commit is contained in:
Sergey Lipskiy 2015-12-15 23:18:44 +06:00
commit 00f76f7ca8

View File

@ -309,7 +309,7 @@ bool FrameBuffer::isValid() const
if ((pData[i] & 0xFFFEFFFE) != color)
++wrongPixels;
}
return wrongPixels < (m_endAddress - m_startAddress) / 400; // treshold level 1% of dwords
return wrongPixels < (m_endAddress - m_startAddress) / 400; // threshold level 1% of dwords
} else if (m_fingerprint) {
//check if our fingerprint is still there
u32 start = m_startAddress >> 2;
@ -327,7 +327,7 @@ bool FrameBuffer::isValid() const
if ((pData[start++] & 0xFFFEFFFE) != (pCopy[i] & 0xFFFEFFFE))
++wrongPixels;
}
return wrongPixels < size / 400; // treshold level 1% of dwords
return wrongPixels < size / 400; // threshold level 1% of dwords
}
return true; // No data to decide
}