From 60519dbc6a85e2c300a78d0f1e058fc1d11a68e5 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Tue, 12 Jun 2018 20:38:48 +0200 Subject: [PATCH] minor fix for Booster.cxx code cleanup in Genesis.cxx --- src/emucore/Booster.cxx | 1 + src/emucore/Genesis.cxx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/emucore/Booster.cxx b/src/emucore/Booster.cxx index 2bd36d009..22f17a410 100644 --- a/src/emucore/Booster.cxx +++ b/src/emucore/Booster.cxx @@ -47,6 +47,7 @@ BoosterGrip::BoosterGrip(Jack jack, const Event& event, const System& system) myXAxisValue = Event::SARightAxis0Value; myYAxisValue = Event::SARightAxis1Value; } + updateAnalogPin(Five, maximumResistance); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/emucore/Genesis.cxx b/src/emucore/Genesis.cxx index b1402bdbe..d47cc1f49 100644 --- a/src/emucore/Genesis.cxx +++ b/src/emucore/Genesis.cxx @@ -42,8 +42,8 @@ Genesis::Genesis(Jack jack, const Event& event, const System& system) myFire2Event = Event::JoystickOneFire5; } - updateAnalogPin(Five, minimumResistance); // TJ: This code is missing for the Booster Grip, so why is it here? - updateAnalogPin(Nine, minimumResistance); // TJ: Do we need this? + updateAnalogPin(Five, minimumResistance); + updateAnalogPin(Nine, minimumResistance); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -