Android: Update rumble settings for use in game profiles
This commit is contained in:
parent
471485071d
commit
f46157793f
|
@ -15,9 +15,10 @@ import org.dolphinemu.dolphinemu.utils.Rumble;
|
|||
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 @@ public final class SettingsFragmentPresenter
|
|||
|
||||
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 @@ public final class SettingsFragmentPresenter
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue