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 // TV Menu only
case R.id.menu_emulation_save_root: case R.id.menu_emulation_save_root:
if (!mDeviceHasTouchScreen)
{
showMenu(SaveStateFragment.FRAGMENT_ID); showMenu(SaveStateFragment.FRAGMENT_ID);
}
return; return;
case R.id.menu_emulation_load_root: case R.id.menu_emulation_load_root:
if (!mDeviceHasTouchScreen)
{
showMenu(LoadStateFragment.FRAGMENT_ID); showMenu(LoadStateFragment.FRAGMENT_ID);
}
return; return;
// Save state slots // Save state slots