mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-13 04:52:06 +00:00
Android: Fix per-game profile setting off-by-one
This commit is contained in:
parent
62ff2f1030
commit
5818685911
1 changed files with 1 additions and 1 deletions
|
@ -1196,7 +1196,7 @@ public final class SettingsFragmentPresenter
|
||||||
int controllerNumber)
|
int controllerNumber)
|
||||||
{
|
{
|
||||||
String[] profiles = new ProfileDialogPresenter(mMenuTag).getProfileNames(false);
|
String[] profiles = new ProfileDialogPresenter(mMenuTag).getProfileNames(false);
|
||||||
String profileKey = profileString + "Profile" + controllerNumber;
|
String profileKey = profileString + "Profile" + (controllerNumber + 1);
|
||||||
sl.add(new StringSingleChoiceSetting(mContext,
|
sl.add(new StringSingleChoiceSetting(mContext,
|
||||||
new LegacyStringSetting("", "Controls", profileKey, ""),
|
new LegacyStringSetting("", "Controls", profileKey, ""),
|
||||||
R.string.input_profile, 0, profiles, profiles, R.string.input_profiles_empty));
|
R.string.input_profile, 0, profiles, profiles, R.string.input_profiles_empty));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue