From f02a7020b018d41c5e21db2513d7c6420f1069c0 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Mon, 16 Oct 2017 23:36:38 +0200 Subject: [PATCH] Fix typo. --- src/emucore/tia/frame-manager/JitterEmulation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emucore/tia/frame-manager/JitterEmulation.cxx b/src/emucore/tia/frame-manager/JitterEmulation.cxx index db6c48372..3026863ff 100644 --- a/src/emucore/tia/frame-manager/JitterEmulation.cxx +++ b/src/emucore/tia/frame-manager/JitterEmulation.cxx @@ -65,7 +65,7 @@ void JitterEmulation::updateJitter(Int32 scanlineDifference) { if (uInt32(abs(scanlineDifference)) < Metrics::minDeltaForJitter) return; - Int32 jitter = std::min(jitter, Metrics::maxJitter); + Int32 jitter = std::min(scanlineDifference, Metrics::maxJitter); jitter = std::max(jitter, -myYStart); if (jitter > 0) jitter += myJitterFactor;