Merge pull request #4219 from SeannyM/android-state

Android: fix save and load state menus on non-TV devices
This commit is contained in:
Markus Wick 2016-09-19 22:32:05 +02:00 committed by GitHub
commit 90ab952588
1 changed files with 8 additions and 2 deletions

View File

@ -426,11 +426,17 @@ public final class EmulationActivity extends AppCompatActivity
// TV Menu only
case R.id.menu_emulation_save_root:
showMenu(SaveStateFragment.FRAGMENT_ID);
if (!mDeviceHasTouchScreen)
{
showMenu(SaveStateFragment.FRAGMENT_ID);
}
return;
case R.id.menu_emulation_load_root:
showMenu(LoadStateFragment.FRAGMENT_ID);
if (!mDeviceHasTouchScreen)
{
showMenu(LoadStateFragment.FRAGMENT_ID);
}
return;
// Save state slots