From c2b32916aa02ab5a0fe54285e945611fba70e0fd Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 16 Jul 2022 11:27:20 +0200 Subject: [PATCH] Android: Add subheadings to Wii config --- .../features/settings/ui/SettingsFragmentPresenter.java | 5 +++++ Source/Android/app/src/main/res/values/strings.xml | 3 +++ 2 files changed, 8 insertions(+) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java index 61f3098f0a..83ae49b2d4 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/ui/SettingsFragmentPresenter.java @@ -429,6 +429,7 @@ public final class SettingsFragmentPresenter private void addWiiSettings(ArrayList sl) { + sl.add(new HeaderSetting(mContext, R.string.wii_misc_settings, 0)); sl.add(new SingleChoiceSetting(mContext, IntSetting.SYSCONF_LANGUAGE, R.string.system_language, 0, R.array.wiiSystemLanguageEntries, R.array.wiiSystemLanguageValues)); sl.add(new CheckBoxSetting(mContext, BooleanSetting.SYSCONF_WIDESCREEN, R.string.wii_widescreen, @@ -439,10 +440,14 @@ public final class SettingsFragmentPresenter R.string.wii_screensaver, R.string.wii_screensaver_description)); sl.add(new SingleChoiceSetting(mContext, IntSetting.SYSCONF_SOUND_MODE, R.string.sound_mode, 0, R.array.soundModeEntries, R.array.soundModeValues)); + + sl.add(new HeaderSetting(mContext, R.string.wii_sd_card_settings, 0)); sl.add(new CheckBoxSetting(mContext, BooleanSetting.MAIN_WII_SD_CARD, R.string.insert_sd_card, R.string.insert_sd_card_description)); sl.add(new CheckBoxSetting(mContext, BooleanSetting.MAIN_ALLOW_SD_WRITES, R.string.wii_sd_card_allow_writes, 0)); + + sl.add(new HeaderSetting(mContext, R.string.wii_wiimote_settings, 0)); sl.add(new CheckBoxSetting(mContext, BooleanSetting.SYSCONF_WIIMOTE_MOTOR, R.string.wiimote_rumble, 0)); sl.add(new IntSliderSetting(mContext, IntSetting.SYSCONF_SPEAKER_VOLUME, diff --git a/Source/Android/app/src/main/res/values/strings.xml b/Source/Android/app/src/main/res/values/strings.xml index 765310156f..17e8d1a5e1 100644 --- a/Source/Android/app/src/main/res/values/strings.xml +++ b/Source/Android/app/src/main/res/values/strings.xml @@ -132,6 +132,9 @@ GameCube Slot A Device GameCube Slot B Device Wii + Misc Settings + SD Card Settings + Wii Remote Settings Widescreen Changes aspect ratio from 4:3 to 16:9 in games that support it. Use PAL60 Mode (EuRGB60)