mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-13 01:29:11 +01:00
56531a0b7f
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.