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…
Reference in New Issue