Android: Hide Refresh Wii Remotes menu entry for GameCube games

This commit is contained in:
JosJuice 2020-08-04 15:43:35 +02:00
parent 36a3b54c1f
commit 7aa9222dac

View File

@ -96,6 +96,11 @@ public final class MenuFragment extends Fragment implements View.OnClickListener
options.findViewById(R.id.menu_overlay_controls).setVisibility(View.GONE);
}
if (EmulationActivity.isGameCubeGame())
{
options.findViewById(R.id.menu_refresh_wiimotes).setVisibility(View.GONE);
}
// Old devices which support both portrait and landscape may report support for neither,
// so we only hide the orientation button if the device only supports one orientation
if (packageManager.hasSystemFeature(PackageManager.FEATURE_SCREEN_PORTRAIT) !=