mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #10360 from JosJuice/android-div-6
Android: Don't divide SI device by 6
This commit is contained in:
commit
7ebc689b57
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -833,7 +833,7 @@ public final class SettingsFragmentPresenter
|
||||
|
||||
private void addGcPadSubSettings(ArrayList<SettingsItem> 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user