mirror of https://github.com/stella-emu/stella.git
Fix typo.
This commit is contained in:
parent
9b4443d555
commit
f02a7020b0
|
@ -65,7 +65,7 @@ void JitterEmulation::updateJitter(Int32 scanlineDifference)
|
||||||
{
|
{
|
||||||
if (uInt32(abs(scanlineDifference)) < Metrics::minDeltaForJitter) return;
|
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);
|
jitter = std::max<Int32>(jitter, -myYStart);
|
||||||
|
|
||||||
if (jitter > 0) jitter += myJitterFactor;
|
if (jitter > 0) jitter += myJitterFactor;
|
||||||
|
|
Loading…
Reference in New Issue