diff --git a/src/emucore/Driving.cxx b/src/emucore/Driving.cxx index aced4ed66..25680b601 100644 --- a/src/emucore/Driving.cxx +++ b/src/emucore/Driving.cxx @@ -147,7 +147,7 @@ void Driving::updateControllerAxes() // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Driving::updateMouseAxes() { - Int32 oldCounter = myCounter; + const Int32 oldCounter = myCounter; static constexpr int MJ_Threshold = 2; // Mouse motion and button events