Fix typo.

This commit is contained in:
Christian Speckner 2017-10-16 23:36:38 +02:00
parent 9b4443d555
commit f02a7020b0
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ void JitterEmulation::updateJitter(Int32 scanlineDifference)
{
if (uInt32(abs(scanlineDifference)) < Metrics::minDeltaForJitter) return;
Int32 jitter = std::min<Int32>(jitter, Metrics::maxJitter);
Int32 jitter = std::min<Int32>(scanlineDifference, Metrics::maxJitter);
jitter = std::max<Int32>(jitter, -myYStart);
if (jitter > 0) jitter += myJitterFactor;