mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
Android: Hide Refresh Wii Remotes menu entry for GameCube games
This commit is contained in:
@ -96,6 +96,11 @@ public final class MenuFragment extends Fragment implements View.OnClickListener
|
|||||||
options.findViewById(R.id.menu_overlay_controls).setVisibility(View.GONE);
|
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,
|
// 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
|
// so we only hide the orientation button if the device only supports one orientation
|
||||||
if (packageManager.hasSystemFeature(PackageManager.FEATURE_SCREEN_PORTRAIT) !=
|
if (packageManager.hasSystemFeature(PackageManager.FEATURE_SCREEN_PORTRAIT) !=
|
||||||
|
Reference in New Issue
Block a user