Permalink
Browse files

Android: Update rumble settings for use in game profiles

  • Loading branch information...
zackhow committed Oct 29, 2018
1 parent 4714850 commit f46157793faa9c1352b9df08c3667bbafdf2f71e
@@ -15,9 +15,10 @@
public class RumbleBindingSetting extends InputBindingSetting
{
public RumbleBindingSetting(String key, String section, int titleId, Setting setting)
public RumbleBindingSetting(String key, String section, int titleId, Setting setting,
String gameId)
{
super(key, section, titleId, setting);
super(key, section, titleId, setting, gameId);
}
@Override
@@ -712,7 +712,7 @@ private void addGcPadSubSettings(ArrayList<SettingsItem> sl, int gcPadNumber, in
sl.add(new HeaderSetting(null, null, R.string.emulation_control_rumble, 0));
sl.add(new RumbleBindingSetting(SettingsFile.KEY_EMU_RUMBLE + gcPadNumber,
Settings.SECTION_BINDINGS, R.string.emulation_control_rumble, gcEmuRumble));
Settings.SECTION_BINDINGS, R.string.emulation_control_rumble, gcEmuRumble, mGameID));
}
else // Adapter
{
@@ -900,7 +900,7 @@ private void addWiimoteSubSettings(ArrayList<SettingsItem> sl, int wiimoteNumber
sl.add(new HeaderSetting(null, null, R.string.emulation_control_rumble, 0));
sl.add(new RumbleBindingSetting(SettingsFile.KEY_EMU_RUMBLE + wiimoteNumber,
Settings.SECTION_BINDINGS, R.string.emulation_control_rumble, wiiEmuRumble));
Settings.SECTION_BINDINGS, R.string.emulation_control_rumble, wiiEmuRumble, mGameID));
}
private void addExtensionTypeSettings(ArrayList<SettingsItem> sl, int wiimoteNumber,

0 comments on commit f461577

Please sign in to comment.