Merge pull request #9843 from JosJuice/android-fallback-region
Android: Add Fallback Region setting to GUI
This commit is contained in:
commit
4808241648
|
@ -18,6 +18,7 @@ public enum IntSetting implements AbstractIntSetting
|
|||
MAIN_GC_LANGUAGE(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "SelectedLanguage", 0),
|
||||
MAIN_SLOT_A(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "SlotA", 8),
|
||||
MAIN_SLOT_B(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "SlotB", 255),
|
||||
MAIN_FALLBACK_REGION(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "FallbackRegion", 2),
|
||||
|
||||
MAIN_AUDIO_VOLUME(Settings.FILE_DOLPHIN, Settings.SECTION_INI_DSP, "Volume", 100),
|
||||
|
||||
|
|
|
@ -262,6 +262,8 @@ public final class SettingsFragmentPresenter
|
|||
R.string.auto_disc_change, 0));
|
||||
sl.add(new PercentSliderSetting(mContext, FloatSetting.MAIN_EMULATION_SPEED,
|
||||
R.string.speed_limit, 0, 0, 200, "%"));
|
||||
sl.add(new SingleChoiceSetting(mContext, IntSetting.MAIN_FALLBACK_REGION,
|
||||
R.string.fallback_region, 0, R.array.regionEntries, R.array.regionValues));
|
||||
sl.add(new CheckBoxSetting(mContext, BooleanSetting.MAIN_ANALYTICS_ENABLED, R.string.analytics,
|
||||
0));
|
||||
sl.add(new RunRunnable(mContext, R.string.analytics_new_id, 0,
|
||||
|
|
|
@ -2,8 +2,20 @@
|
|||
|
||||
<!-- All lists for ListPreference keys/values are placed here -->
|
||||
<resources>
|
||||
<string-array name="regionEntries">
|
||||
<item>NTSC-J</item>
|
||||
<item>NTSC-U</item>
|
||||
<item>PAL</item>
|
||||
<item>NTSC-K</item>
|
||||
</string-array>
|
||||
<integer-array name="regionValues">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- New UI CPU Core selection - Default -->
|
||||
<!-- UI CPU Core selection -->
|
||||
<string-array name="emuCoresEntriesX86_64" translatable="false">
|
||||
<item>JIT Recompiler for x86-64 (recommended)</item>
|
||||
<item>Cached Interpreter (slower)</item>
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
<string name="wiimote_speaker_description">Enable sound output through the speaker on a real Wiimote (DolphinBar required).</string>
|
||||
<string name="override_region_settings">Allow Mismatched Region Settings</string>
|
||||
<string name="auto_disc_change">Change Discs Automatically</string>
|
||||
<string name="fallback_region">Fallback Region</string>
|
||||
<string name="enable_save_states">Enable Savestates</string>
|
||||
<string name="enable_save_states_description">WARNING: Savestates may not be compatible with future versions of Dolphin and can make it impossible to create normal saves in some cases. Never use savestates as the only way of saving your progress.</string>
|
||||
<string name="lock_emulation_landscape">Lock screen to landscape</string>
|
||||
|
|
Loading…
Reference in New Issue