mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-01 10:13:38 +00:00
Android: showMotionControlsOptions cleanup
This commit is contained in:
parent
df4cef44fd
commit
cc53249591
@ -868,10 +868,7 @@ public final class EmulationActivity extends AppCompatActivity
|
|||||||
{
|
{
|
||||||
IntSetting.MAIN_MOTION_CONTROLS.setInt(mSettings, indexSelected);
|
IntSetting.MAIN_MOTION_CONTROLS.setInt(mSettings, indexSelected);
|
||||||
|
|
||||||
if (indexSelected != 2)
|
updateMotionListener();
|
||||||
mMotionListener.enable();
|
|
||||||
else
|
|
||||||
mMotionListener.disable();
|
|
||||||
|
|
||||||
File wiimoteNewFile = SettingsFile.getSettingsFile(Settings.FILE_WIIMOTE);
|
File wiimoteNewFile = SettingsFile.getSettingsFile(Settings.FILE_WIIMOTE);
|
||||||
IniFile wiimoteNewIni = new IniFile(wiimoteNewFile);
|
IniFile wiimoteNewIni = new IniFile(wiimoteNewFile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user