diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsActivityPresenter.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsActivityPresenter.java index 8dbf415973..78f3a78fd6 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsActivityPresenter.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsActivityPresenter.java @@ -140,7 +140,7 @@ public final class SettingsActivityPresenter if (value != 0) // Not disabled { Bundle bundle = new Bundle(); - bundle.putInt(SettingsFragmentPresenter.ARG_CONTROLLER_TYPE, value / 6); + bundle.putInt(SettingsFragmentPresenter.ARG_CONTROLLER_TYPE, value); mView.showSettingsFragment(key, bundle, true, mGameId); } } diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java index 5655a67ea8..8943930e5e 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java @@ -833,7 +833,7 @@ public final class SettingsFragmentPresenter private void addGcPadSubSettings(ArrayList sl, int gcPadNumber, int gcPadType) { - if (gcPadType == 1) // Emulated + if (gcPadType == 6) // Emulated { sl.add(new HeaderSetting(mContext, R.string.generic_buttons, 0)); sl.add(new InputBindingSetting(mContext, Settings.FILE_DOLPHIN, Settings.SECTION_BINDINGS, @@ -892,7 +892,7 @@ public final class SettingsFragmentPresenter SettingsFile.KEY_EMU_RUMBLE + gcPadNumber, R.string.emulation_control_rumble, mGameID)); } - else // Adapter + else if (gcPadType == 12) // Adapter { LegacyBooleanSetting rumble = new LegacyBooleanSetting(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, SettingsFile.KEY_GCADAPTER_RUMBLE + gcPadNumber, false);