From 7aa9222dac1321507e07fbe27fe47f1ea41b3e27 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 4 Aug 2020 15:43:35 +0200 Subject: [PATCH] Android: Hide Refresh Wii Remotes menu entry for GameCube games --- .../org/dolphinemu/dolphinemu/fragments/MenuFragment.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java index 256a1a8188..36eb22ffd5 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java @@ -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) !=