mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-27 14:33:40 +01:00

The three parameter AnalogStick constructor takes an internal name, a display name, and a default radius argument. The delegated constructor is the one that calls the ControlGroup constructor, setting the group type, so passing the group type here is a logic bug. The only reason this appeared to work despite this bug is because GROUP_TYPE_STICK has a value of 1, and the default radius value used for attachment sticks is 1.0.