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 d65a3f28f8..55a28ea3c3 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 @@ -381,16 +381,20 @@ public final class SettingsFragmentPresenter private void addWiiSettings(ArrayList sl) { Setting wiiSDCard = null; + Setting wiiSDWrites = null; Setting continuousScan = null; Setting wiimoteSpeaker = null; SettingSection coreSection = mSettings.getSection(Settings.SECTION_INI_CORE); wiiSDCard = coreSection.getSetting(SettingsFile.KEY_WII_SD_CARD); + wiiSDWrites = coreSection.getSetting(SettingsFile.KEY_WII_SD_CARD_ALLOW_WRITES); continuousScan = coreSection.getSetting(SettingsFile.KEY_WIIMOTE_SCAN); wiimoteSpeaker = coreSection.getSetting(SettingsFile.KEY_WIIMOTE_SPEAKER); sl.add(new CheckBoxSetting(SettingsFile.KEY_WII_SD_CARD, Settings.SECTION_INI_CORE, R.string.insert_sd_card, R.string.insert_sd_card_description, true, wiiSDCard)); + sl.add(new CheckBoxSetting(SettingsFile.KEY_WII_SD_CARD_ALLOW_WRITES, Settings.SECTION_INI_CORE, + R.string.wii_sd_card_allow_writes, 0, true, wiiSDWrites)); sl.add(new CheckBoxSetting(SettingsFile.KEY_WIIMOTE_SCAN, Settings.SECTION_INI_CORE, R.string.wiimote_scanning, R.string.wiimote_scanning_description, true, continuousScan)); diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/utils/SettingsFile.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/utils/SettingsFile.java index bb47068d9a..b06fa0d074 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/utils/SettingsFile.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/features/settings/utils/SettingsFile.java @@ -279,6 +279,7 @@ public final class SettingsFile public static final String KEY_WIIBIND_TURNTABLE_CROSSFADE_RIGHT = "TurntableCrossRight_"; public static final String KEY_WII_SD_CARD = "WiiSDCard"; + public static final String KEY_WII_SD_CARD_ALLOW_WRITES = "WiiSDCardAllowWrites"; public static final String KEY_WIIMOTE_SCAN = "WiimoteContinuousScanning"; public static final String KEY_WIIMOTE_SPEAKER = "WiimoteEnableSpeaker"; diff --git a/Source/Android/app/src/main/res/values/strings.xml b/Source/Android/app/src/main/res/values/strings.xml index 082f296a74..3a96bac645 100644 --- a/Source/Android/app/src/main/res/values/strings.xml +++ b/Source/Android/app/src/main/res/values/strings.xml @@ -134,6 +134,7 @@ Wii Insert SD Card Supports SD and SDHC. Default size is 128 MB. + Allow Writes to SD Card Wii Remote Continuous Scanning Leave this on if you are using a DolphinBar for real Wiimote support. Wii Remote Speaker