mirror of https://github.com/stella-emu/stella.git
fixes #317
This commit is contained in:
parent
337375a2b2
commit
a9cd833975
|
@ -42,7 +42,8 @@ Genesis::Genesis(Jack jack, const Event& event, const System& system)
|
||||||
myFire2Event = Event::JoystickOneFire5;
|
myFire2Event = Event::JoystickOneFire5;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateAnalogPin(Five, minimumResistance);
|
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?
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
@ -62,6 +63,7 @@ void Genesis::update()
|
||||||
Five,
|
Five,
|
||||||
(myEvent.get(myFire2Event) == 0) ? minimumResistance : maximumResistance
|
(myEvent.get(myFire2Event) == 0) ? minimumResistance : maximumResistance
|
||||||
);
|
);
|
||||||
|
updateAnalogPin(Nine, minimumResistance);
|
||||||
|
|
||||||
// Mouse motion and button events
|
// Mouse motion and button events
|
||||||
if(myControlID > -1)
|
if(myControlID > -1)
|
||||||
|
|
Loading…
Reference in New Issue