diff options
| author | JosJuice <josjuice@gmail.com> | 2020-08-04 15:43:35 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-09-08 16:39:34 +0200 |
| commit | 7aa9222dac1321507e07fbe27fe47f1ea41b3e27 (patch) | |
| tree | 4694987683e01fc06696a942c73d9788ae4f3757 /Source/Android/app/src/main/java | |
| parent | 36a3b54c1f92d7f7c176a6804ce8495552586e33 (diff) | |
Android: Hide Refresh Wii Remotes menu entry for GameCube games
Diffstat (limited to 'Source/Android/app/src/main/java')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java | 5 |
1 files changed, 5 insertions, 0 deletions
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) != |
