mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07: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
|
||
---|---|---|
.. | ||
AndroidCommon | ||
Cheats | ||
Config | ||
GameList | ||
Input | ||
CMakeLists.txt | ||
GpuDriver.cpp | ||
Host.cpp | ||
Host.h | ||
InfinityConfig.cpp | ||
MainAndroid.cpp | ||
RiivolutionPatches.cpp | ||
SkylanderConfig.cpp | ||
WiiUtils.cpp |