mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-30 23:50:57 +01:00
6cf55ab1ee
After reading the previous commit, you might think "hold on, what's the
difference between GetProfileName and GetProfileDirectoryName"? These
two are being used for the exact same thing - figuring out where
profiles are stored - yet they return different values for certain
controllers like GC keyboards! As far as I can tell, the existing code
has been broken for GC keyboards since they were introduced a decade
ago. The GUI (and more recently, also InputCycler) would write and read
profiles in one location, and our code for loading profiles specified in
a game INI file would read profiles in another location.
This commit gets rid of the set of values used by the game INI code in
favor of the other set. This does breaking existing setups where a
GCKey profile has been configured in a game INI, but I think the number
of working such setups is vanishingly small. The alternative would make
existing GCKey profiles go missing from the profile dropdown in the GUI,
which I think would be more disruptive. The alternative would also force
new GCKey profiles into the same directory as GCPad profiles.
This commit also fixes a regression from
|
||
---|---|---|
.. | ||
Control.cpp | ||
Control.h | ||
ControlGroup.cpp | ||
ControlGroup.h | ||
ControlReference.cpp | ||
ControlReference.h | ||
CoreDevice.cpp | ||
CoreDevice.h | ||
EmulatedController.cpp | ||
EmulatedController.h | ||
InputOverrider.cpp | ||
MappingCommon.cpp | ||
NumericSetting.cpp | ||
NumericSetting.h |