Android: Make WFS directory configurable
The Android version of 5ecd5f0
. No scoped storage support, though...
This commit is contained in:
parent
26bfe788ba
commit
75bf008aba
|
@ -22,6 +22,7 @@ public enum StringSetting implements AbstractStringSetting
|
||||||
""),
|
""),
|
||||||
MAIN_FS_PATH(Settings.FILE_DOLPHIN, Settings.SECTION_INI_GENERAL, "NANDRootPath", ""),
|
MAIN_FS_PATH(Settings.FILE_DOLPHIN, Settings.SECTION_INI_GENERAL, "NANDRootPath", ""),
|
||||||
MAIN_SD_PATH(Settings.FILE_DOLPHIN, Settings.SECTION_INI_GENERAL, "WiiSDCardPath", ""),
|
MAIN_SD_PATH(Settings.FILE_DOLPHIN, Settings.SECTION_INI_GENERAL, "WiiSDCardPath", ""),
|
||||||
|
MAIN_WFS_PATH(Settings.FILE_DOLPHIN, Settings.SECTION_INI_GENERAL, "WFSPath", ""),
|
||||||
|
|
||||||
GFX_ENHANCE_POST_SHADER(Settings.FILE_GFX, Settings.SECTION_GFX_ENHANCEMENTS,
|
GFX_ENHANCE_POST_SHADER(Settings.FILE_GFX, Settings.SECTION_GFX_ENHANCEMENTS,
|
||||||
"PostProcessingShader", "");
|
"PostProcessingShader", "");
|
||||||
|
|
|
@ -411,6 +411,8 @@ public final class SettingsFragmentPresenter
|
||||||
R.string.resource_pack_path, 0, MainPresenter.REQUEST_DIRECTORY, "/ResourcePacks"));
|
R.string.resource_pack_path, 0, MainPresenter.REQUEST_DIRECTORY, "/ResourcePacks"));
|
||||||
sl.add(new FilePicker(mContext, StringSetting.MAIN_SD_PATH, R.string.SD_card_path, 0,
|
sl.add(new FilePicker(mContext, StringSetting.MAIN_SD_PATH, R.string.SD_card_path, 0,
|
||||||
MainPresenter.REQUEST_SD_FILE, "/Wii/sd.raw"));
|
MainPresenter.REQUEST_SD_FILE, "/Wii/sd.raw"));
|
||||||
|
sl.add(new FilePicker(mContext, StringSetting.MAIN_WFS_PATH, R.string.wfs_path, 0,
|
||||||
|
MainPresenter.REQUEST_DIRECTORY, "/WFS"));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addGameCubeSettings(ArrayList<SettingsItem> sl)
|
private void addGameCubeSettings(ArrayList<SettingsItem> sl)
|
||||||
|
|
|
@ -198,6 +198,7 @@
|
||||||
<string name="load_path">Load Path</string>
|
<string name="load_path">Load Path</string>
|
||||||
<string name="resource_pack_path">Resource Pack Path</string>
|
<string name="resource_pack_path">Resource Pack Path</string>
|
||||||
<string name="SD_card_path">SD Card Path</string>
|
<string name="SD_card_path">SD Card Path</string>
|
||||||
|
<string name="wfs_path">WFS Path</string>
|
||||||
|
|
||||||
<!-- Graphics Settings -->
|
<!-- Graphics Settings -->
|
||||||
<string name="graphics_general">General</string>
|
<string name="graphics_general">General</string>
|
||||||
|
|
Loading…
Reference in New Issue