Android: fix save and load state menus on non-TV devices

This commit is contained in:
Sean Maas 2016-09-16 17:43:38 -04:00 committed by GitHub
parent 22b5d89bf1
commit 094470ead6
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