Android: Expose Emulate Disc Speed

This commit is contained in:
Charles Lombardo 2023-02-03 17:20:28 -05:00
parent aece99fe41
commit d0941342d2
3 changed files with 10 additions and 0 deletions

View File

@ -43,6 +43,8 @@ public enum BooleanSetting implements AbstractBooleanSetting
MAIN_ACCURATE_CPU_CACHE(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "AccurateCPUCache",
false),
MAIN_SYNC_GPU(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "SyncGPU", false),
MAIN_FAST_DISC_SPEED(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "FastDiscSpeed",
false),
MAIN_OVERCLOCK_ENABLE(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "OverclockEnable", false),
MAIN_RAM_OVERRIDE_ENABLE(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "RAMOverrideEnable",
false),

View File

@ -765,6 +765,11 @@ public final class SettingsFragmentPresenter
R.string.custom_rtc_enable, R.string.custom_rtc_description));
sl.add(new DateTimeChoiceSetting(mContext, StringSetting.MAIN_CUSTOM_RTC_VALUE,
R.string.set_custom_rtc, 0));
sl.add(new HeaderSetting(mContext, R.string.misc_settings, 0));
sl.add(new InvertedSwitchSetting(mContext, BooleanSetting.MAIN_FAST_DISC_SPEED,
R.string.emulate_disc_speed,
R.string.emulate_disc_speed_description));
}
private void addSerialPortSubSettings(ArrayList<SettingsItem> sl, int serialPort1Type)

View File

@ -416,6 +416,9 @@
<string name="set_custom_rtc">Set Custom RTC</string>
<string name="select_rtc_date">Select RTC Date</string>
<string name="select_rtc_time">Select RTC Time</string>
<string name="misc_settings">Misc Settings</string>
<string name="emulate_disc_speed">Emulate Disc Speed</string>
<string name="emulate_disc_speed_description">Enable emulated disc speed. Disabling this can cause crashes and other problems in some games.</string>
<!-- Log Configuration -->
<string name="log_submenu">Log</string>